品类添加
parent
3e541da52c
commit
2f7ad83a66
|
@ -72,6 +72,17 @@ export default {
|
||||||
default: []
|
default: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
value: {
|
||||||
|
handler(val) {
|
||||||
|
if (val.toString() !== this.attributeIdList.toString()){
|
||||||
|
this.attributeIdList = val;
|
||||||
|
this.checkedAttributeList = []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
attributeIdList: [],
|
attributeIdList: [],
|
||||||
|
|
|
@ -82,6 +82,17 @@ export default {
|
||||||
attributeGroupList: []
|
attributeGroupList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
value: {
|
||||||
|
handler(val) {
|
||||||
|
if (val.toString() !== this.attributeGroupIdList.toString()){
|
||||||
|
this.attributeGroupIdList = val;
|
||||||
|
this.checkedAttributeGroupList = []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.queryAttributeGroup();
|
this.queryAttributeGroup();
|
||||||
},
|
},
|
||||||
|
|
|
@ -82,6 +82,17 @@ export default {
|
||||||
brandList: []
|
brandList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
value: {
|
||||||
|
handler(val) {
|
||||||
|
if (val.toString() !== this.brandIdList.toString()){
|
||||||
|
this.brandIdList = val;
|
||||||
|
this.checkedBrandList = []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.queryBrand();
|
this.queryBrand();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue