@@ -156,7 +156,7 @@
lazy: true,
lazyLoad(node,resolve){
if(node.level == 0){
- that.getProductCateList(null,resolve)
+ that.getProductCateList(0,resolve)
}else{
that.getProductCateList(node.data.id,resolve)
}
@@ -246,7 +246,7 @@
@@ -141,7 +141,7 @@
- that.getSelectProductCateList(null,resolve)
+ that.getSelectProductCateList(0,resolve)
that.getSelectProductCateList(node.data.id,resolve)
@@ -135,7 +135,7 @@
if (this.$route.query.parentId != null) {
this.parentId = this.$route.query.parentId;
} else {
- this.parentId = null;
+ this.parentId = 0;
},
//添加产品类别