Commit 8ba34eb5 authored by 武广's avatar 武广

fix: 去掉无用代码

parent 1aa6a80d
......@@ -346,11 +346,6 @@ class goodsManage extends Component {
}
};
serviceVisbleOpen = () => {
console.log('============>open');
this.serviceVisbleClose(true);
};
serviceVisbleClose = (flag, refresh) => {
this.setState({
serviceVisble: flag,
......@@ -380,6 +375,13 @@ class goodsManage extends Component {
>
新增商品
</Button>
<Button
type="primary"
className={styles.button}
onClick={() => this.serviceVisbleClose(true)}
>
新增服务类商品
</Button>
<Card>
<SearchForm
handleSearch={this.handleSearch}
......@@ -394,7 +396,6 @@ class goodsManage extends Component {
// addSpu={() => this.setState({ createVisible: true, initData: {} })}
selectNum={selectedRowKeys.length}
setArea={(isALL, type) => this.setArea(isALL, type)}
serviceVisbleOpen={this.serviceVisbleOpen}
/>
</Card>
<Spin spinning={this.state.loading}>
......
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