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