接口调用修改
Showing
3 changed files
with
3 additions
and
3 deletions
| ... | @@ -157,7 +157,7 @@ | ... | @@ -157,7 +157,7 @@ |
| 157 | watch:{ | 157 | watch:{ |
| 158 | cbsm: { | 158 | cbsm: { |
| 159 | handler: function (item) { | 159 | handler: function (item) { |
| 160 | if(item!='' && this.$parent.menuType == 'c'){ | 160 | if(item!='' && this.$parent.$parent.menuType == 'c'){ |
| 161 | this.getLjzInfo(this.item) | 161 | this.getLjzInfo(this.item) |
| 162 | } | 162 | } |
| 163 | }, | 163 | }, | ... | ... |
| ... | @@ -414,7 +414,7 @@ export default { | ... | @@ -414,7 +414,7 @@ export default { |
| 414 | ljzbsm: { | 414 | ljzbsm: { |
| 415 | handler: function (item) { | 415 | handler: function (item) { |
| 416 | console.log(item,'item'); | 416 | console.log(item,'item'); |
| 417 | if(item!='' && this.$parent.menuType == 'ljz'){ | 417 | if(item!='' && this.$parent.$parent.menuType == 'ljz'){ |
| 418 | this.getLjzInfo(this.ljzbsm) | 418 | this.getLjzInfo(this.ljzbsm) |
| 419 | } | 419 | } |
| 420 | }, | 420 | }, | ... | ... |
| ... | @@ -144,7 +144,7 @@ | ... | @@ -144,7 +144,7 @@ |
| 144 | watch:{ | 144 | watch:{ |
| 145 | zdybsm: { | 145 | zdybsm: { |
| 146 | handler: function (item) { | 146 | handler: function (item) { |
| 147 | if(item!='' && this.$parent.menuType == 'zdy'){ | 147 | if(item!='' && this.$parent.$parent.menuType == 'zdy'){ |
| 148 | this.getZdyInfo(item) | 148 | this.getZdyInfo(item) |
| 149 | } | 149 | } |
| 150 | }, | 150 | }, | ... | ... |
-
Please register or sign in to post a comment