Browse Source

增加默认查询类型的可修改参数

zhy 1 month ago
parent
commit
dce2612fad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/cms/link.vue

+ 1 - 1
src/views/cms/link.vue

@@ -67,7 +67,7 @@
       },
       async getCatalog() {
         this.mydata.loading = true;
-        const res = await cmsQuery({ paging: false }, 'wxAppMenu');
+        const res = await cmsQuery({ paging: false }, this.$route.query.taxonomy ?? 'wxAppMenu');
         if (res.code == 200) {
           this.$set(this.mydata, 'treeData', this.handleTree(res.rows, 'termId'))
           if (this.mydata.treeData[0]) {