|
@@ -46,7 +46,7 @@ export default {
|
|
.get(this.$_API.JTXT_GET_CATEGORIES)
|
|
.get(this.$_API.JTXT_GET_CATEGORIES)
|
|
.then(res => {
|
|
.then(res => {
|
|
// 第一个添加推荐
|
|
// 第一个添加推荐
|
|
- this.learnRootList = [{ id: "0", name: "推荐", parentId: null }];
|
|
|
|
|
|
+ this.learnRootList = [{ id: "0", name: "推荐1", parentId: null }];
|
|
this.learnRootList = [...this.learnRootList, ...res.data];
|
|
this.learnRootList = [...this.learnRootList, ...res.data];
|
|
// 查询子目录
|
|
// 查询子目录
|
|
if (this.choosedRootIndex === 0) {
|
|
if (this.choosedRootIndex === 0) {
|