Commit 98a74b16 authored by zhengke's avatar zhengke

修改

parent 9f383afc
...@@ -1318,6 +1318,8 @@ ...@@ -1318,6 +1318,8 @@
if (this.$route.query.GoodsId) { if (this.$route.query.GoodsId) {
this.GoodsId = this.$route.query.GoodsId; this.GoodsId = this.$route.query.GoodsId;
this.getData(); this.getData();
}else{
this.getTree();
} }
}, },
methods: { methods: {
......
...@@ -1053,6 +1053,8 @@ ...@@ -1053,6 +1053,8 @@
if (this.$route.query.GoodsId) { if (this.$route.query.GoodsId) {
this.GoodsId = this.$route.query.GoodsId; this.GoodsId = this.$route.query.GoodsId;
this.getData(); this.getData();
}else{
this.getTree();
} }
}, },
methods: { methods: {
......
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