报错修改
Showing
1 changed file
with
13 additions
and
11 deletions
... | @@ -212,17 +212,19 @@ | ... | @@ -212,17 +212,19 @@ |
212 | */ | 212 | */ |
213 | getNextNode (bsmSqyw) { | 213 | getNextNode (bsmSqyw) { |
214 | getNextNode(bsmSqyw).then(res => { | 214 | getNextNode(bsmSqyw).then(res => { |
215 | if (res.result.djqx) { | 215 | if (res.result) { |
216 | this.djqxList = res.result.djqx; | 216 | if (res.result.djqx) { |
217 | this.djqxList.forEach(item => { | 217 | this.djqxList = res.result.djqx; |
218 | this.$set(item, 'selected', false); | 218 | this.djqxList.forEach(item => { |
219 | }); | 219 | this.$set(item, 'selected', false); |
220 | } | 220 | }); |
221 | if (res.result.djlx) { | 221 | } |
222 | this.djlxList = res.result.djlx; | 222 | if (res.result.djlx) { |
223 | this.djlxList.forEach(item => { | 223 | this.djlxList = res.result.djlx; |
224 | this.$set(item, 'selected', false); | 224 | this.djlxList.forEach(item => { |
225 | }); | 225 | this.$set(item, 'selected', false); |
226 | }); | ||
227 | } | ||
226 | } | 228 | } |
227 | }) | 229 | }) |
228 | }, | 230 | }, | ... | ... |
-
Please register or sign in to post a comment