Преглед изворни кода

knowlege tree api + ignoreSubjective

hehaitao пре 1 година
родитељ
комит
3d2d0f6d61
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 }).then(
+      knowledgeTree({ pharseId: 3, subjectId: this.queryParams.exeSubject, knowledgeTree: true }).then(
         (res) => {
           this.knowTreeList = res.data
           this.$nextTick(() => {