Commit 08f4062b authored by 李腾's avatar 李腾

Merge branch 'fix/goodsManage20220929' into 'master'

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

See merge request !59
parents f65e1c70 0ceb6cca
...@@ -66,6 +66,8 @@ class goodsManage extends Component { ...@@ -66,6 +66,8 @@ class goodsManage extends Component {
shopList = []; shopList = [];
canEditable = false;
componentDidMount() { componentDidMount() {
this.props.goodsManage.tableData = {}; this.props.goodsManage.tableData = {};
this.categoryList(); this.categoryList();
...@@ -398,6 +400,7 @@ class goodsManage extends Component { ...@@ -398,6 +400,7 @@ class goodsManage extends Component {
const canAddService = permissions[GOOD_MANAGE.ADD_SERVICE_GOODS]; const canAddService = permissions[GOOD_MANAGE.ADD_SERVICE_GOODS];
const canAddNormal = permissions[GOOD_MANAGE.ADD_NORMAL_GOODS]; const canAddNormal = permissions[GOOD_MANAGE.ADD_NORMAL_GOODS];
this.canEditable = permissions[GOOD_MANAGE.EDITABLE];
return ( return (
<PageHeaderWrapper> <PageHeaderWrapper>
<Spin spinning={this.state.createloading}> <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