Commit 0b03c0f7 authored by beisir's avatar beisir

fix: 提交并继续添加重置表单

parent 3f82ac25
......@@ -388,8 +388,10 @@ class goodsManage extends Component {
colorImg: {}, // 一级规格是颜色时,color: [imgList]
initForm: {}, // 返显
confirmLoading: false,
initCascader: null,
});
this.props.form.resetFields();
this.BatchSetting.props.form.resetFields();
return;
}
this.onCancel();
......@@ -532,6 +534,7 @@ class goodsManage extends Component {
style={{ width: 690 }}
changeOnSelect
showSearch
placeholder="请输入商品名称"
fieldNames={{ label: 'name', value: 'id', children: 'children' }}
options={treeDataArray}
onChange={(val, label, ext) => this.treeChange(val, label, ext)}
......
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