--no commit message
Showing
1 changed file
with
9 additions
and
6 deletions
... | @@ -87,15 +87,18 @@ | ... | @@ -87,15 +87,18 @@ |
87 | if (res.code === 200) { | 87 | if (res.code === 200) { |
88 | 88 | ||
89 | let { records } = res.result; | 89 | let { records } = res.result; |
90 | console.log("records",records); | ||
91 | if(records){ | ||
92 | this.$endLoading(); | ||
93 | this.treedata=[] | ||
94 | 90 | ||
95 | }else{ | 91 | if(records){ |
96 | console.log("false"); | 92 | console.log("true",records); |
97 | this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid); | 93 | this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid); |
98 | this.$endLoading(); | 94 | this.$endLoading(); |
95 | |||
96 | }else{ | ||
97 | console.log("false"); | ||
98 | this.treedata=[] | ||
99 | this.$endLoading(); | ||
100 | |||
101 | |||
99 | } | 102 | } |
100 | 103 | ||
101 | } | 104 | } | ... | ... |
-
Please register or sign in to post a comment