品类添加
parent
8f05fe0a33
commit
821fb4aacc
|
@ -94,6 +94,20 @@ export default {
|
|||
default: []
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
watch: {
|
||||
value: {
|
||||
handler(val){
|
||||
if (val.toString() !== this.attributeIdList.toString()){
|
||||
this.attributeIdList = val;
|
||||
this.checkedAttributeList = []
|
||||
}
|
||||
},
|
||||
immediate :true,
|
||||
}
|
||||
},
|
||||
|
||||
data(){
|
||||
return{
|
||||
attributeIdList: [],
|
||||
|
|
|
@ -94,6 +94,8 @@ export default {
|
|||
default: []
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
data(){
|
||||
return{
|
||||
attributeGroupIdList: [],
|
||||
|
@ -109,6 +111,18 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
value: {
|
||||
handler(val){
|
||||
if (val.toString() !== this.attributeGroupIdList.toString()){
|
||||
this.attributeGroupIdList = val;
|
||||
this.checkedAttributeGroupList = []
|
||||
}
|
||||
},
|
||||
immediate :true,
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.queryAttributeGroup();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue