|
|
@@ -33,7 +33,7 @@ class OftenFuncManage extends Component {
|
|
|
if (!isObjEmpty(docState, docState.docFuncGroupList)) {
|
|
|
this.setState({
|
|
|
docFuncGroupStateList: JSON.parse(
|
|
|
- JSON.stringify(docState.docFuncGroupList)),
|
|
|
+ JSON.stringify(docState.docFuncGroupList)),//深拷贝,不然会出现state变化,props随之变化的情况。
|
|
|
})
|
|
|
}
|
|
|
}
|