|
@@ -43,6 +43,7 @@ export default class GoodsSetting extends Component {
|
|
get_setting = () => {
|
|
get_setting = () => {
|
|
const { dispatch } = this.props;
|
|
const { dispatch } = this.props;
|
|
let { info_data } = this.state;
|
|
let { info_data } = this.state;
|
|
|
|
+ this.setState({initLoading: true})
|
|
// let str_info = 'goods_publish_need_audit,goods_sort_weight_sale,goods_sort_weight_view';
|
|
// let str_info = 'goods_publish_need_audit,goods_sort_weight_sale,goods_sort_weight_view';
|
|
let str_info = 'goods_publish_need_audit';
|
|
let str_info = 'goods_publish_need_audit';
|
|
dispatch({
|
|
dispatch({
|
|
@@ -77,7 +78,7 @@ export default class GoodsSetting extends Component {
|
|
info_data.push(sld_config_save_btn);
|
|
info_data.push(sld_config_save_btn);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- this.setState({ info_data, flag: 1 });
|
|
|
|
|
|
+ this.setState({ info_data, flag: 1, initLoading: false });
|
|
},
|
|
},
|
|
});
|
|
});
|
|
};
|
|
};
|