@@ -369,6 +369,7 @@ export default {
.then(res => {
this.TextbookData = res;
this.loading = false;
+ sessionStorage.setItem("Bookdetail", JSON.stringify(res));
})
.catch(res => {
@@ -832,4 +833,4 @@ export default {
padding: 20px 32px 10px;
}
-</style>
+</style>
@@ -215,6 +215,17 @@ export default {
});
+ let Mname = "book-book_manager-GetBook";
+ // 获取课程详情
+ TextbookAPI(Mname, {
+ id: this.bookId
+ })
+ .then(res => {
+ .catch(res => {
+ this.loading = false;
+ });
},
changeTreeData(val) {
this.FatherTreeData = JSON.parse(JSON.stringify(val));