瀏覽代碼

添加推荐标识

aaa 3 年之前
父節點
當前提交
4a651caf3d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/home/learn/page-learn.vue

+ 1 - 1
src/views/home/learn/page-learn.vue

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