Commit 0ceb6cca authored by 李腾's avatar 李腾

fix: 修复商品库修改按钮不展示问题

parent d3d6f4e2
......@@ -66,6 +66,8 @@ class goodsManage extends Component {
shopList = [];
canEditable = false;
componentDidMount() {
this.props.goodsManage.tableData = {};
this.categoryList();
......@@ -398,6 +400,7 @@ class goodsManage extends Component {
const canAddService = permissions[GOOD_MANAGE.ADD_SERVICE_GOODS];
const canAddNormal = permissions[GOOD_MANAGE.ADD_NORMAL_GOODS];
this.canEditable = permissions[GOOD_MANAGE.EDITABLE];
return (
<PageHeaderWrapper>
<Spin spinning={this.state.createloading}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment