Commit 68100ce4 authored by zhengke's avatar zhengke

修改

parent 1326a6e2
......@@ -97,7 +97,11 @@ export default {
watch:{
goods:{
handler(newValue,oldValue){
this.currentList = newValue.list;
if (this.goods.showCat) {
this.currentList = newValue.catList[0].goodsList;
} else {
this.currentList = newValue.list;
}
},
deep:true
}
......
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