|
|
@@ -443,15 +443,12 @@ export default {
|
|
|
this.getProjectInfo();
|
|
|
},
|
|
|
methods: {
|
|
|
-<<<<<<< Updated upstream
|
|
|
-=======
|
|
|
selectFirstLeafNode() {
|
|
|
if (!this.node_list || this.node_list.length === 0) return;
|
|
|
let node = this.node_list.find((x) => this.isTrue(x.is_leaf_chapter));
|
|
|
if (!node) return;
|
|
|
this.selectChapterNode(node.id, true);
|
|
|
},
|
|
|
->>>>>>> Stashed changes
|
|
|
getBookBaseInfo() {
|
|
|
GetBookBaseInfo({ id: this.projectId }).then(({ book_info }) => {
|
|
|
this.courseware_info = { ...this.courseware_info, ...book_info, book_name: book_info.name };
|