LANIF-UI/dva-boot-admin

想请教一下,怎么修改model中是state的值呢

yigerendehaotianqi opened this issue · 0 comments

   render() {
        const {ProductiInformation, loading, dispatch} = this.props;
        const {pageData, treeData, carBrand, carSeries, supplierListPageData, warehouseList} = ProductiInformation;
        const columns = createColumns(this);

我在这里将warehouseList取出来了,修改里面的值之后,我应该怎么做呢,是this.setState吗,可以麻烦费讲解一下吗