瀏覽代碼

knowlege tree api + ignoreSubjective

hehaitao 1 年之前
父節點
當前提交
2b8a41f2f3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/questioncenter/components/smart-online.vue

+ 1 - 1
src/views/questioncenter/components/smart-online.vue

@@ -240,7 +240,7 @@ export default {
     },
     // 获取知识点树
     getTreeByKnowledge() {
-      knowledgeTree({ pharseId: 3, subjectId: this.queryParams.exeSubject, knowledgeTree: true }).then(
+      knowledgeTree({ pharseId: 3, subjectId: this.queryParams.exeSubject, ignoreSubjective: true }).then(
         (res) => {
           this.knowTreeList = res.data
           this.$nextTick(() => {