|
@@ -171,13 +171,14 @@ export default {
|
|
|
book_id: this.bookId,
|
|
|
};
|
|
|
getContent(MethodName, data).then((res) => {
|
|
|
+ this.loading = false;
|
|
|
+
|
|
|
_this.handleData(res, 0);
|
|
|
_this.treeData = res.nodes;
|
|
|
_this.changeTreeData(this.treeData);
|
|
|
_this.$nextTick(() => {
|
|
|
_this.foldAll();
|
|
|
});
|
|
|
- this.loading = false;
|
|
|
});
|
|
|
},
|
|
|
// 递归
|