Commit 97d25094 by 陈羽

update: 代码优化

parent 68aa2bc0
......@@ -257,11 +257,11 @@ export default {
},
brandId(val) {
const that = this;
that.searchSelect = '';
that.groupIds = [];
that.groupData = [];
that.groupDataCopy = [];
if (val) {
that.searchSelect = '';
that.groupIds = [];
that.groupData = [];
that.groupDataCopy = [];
that.getGroup();
}
},
......
......@@ -163,6 +163,7 @@ export default {
}
if (type === 'search') {
that.enterpriseId = '';
that.partForm.storeGroup = [];
}
const res = await that.getSearchList(that.partForm.searchSelect);
that.searchArray = res;
......
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