Parcourir la source

【模板目录】添加链接分类优化

evoxwht il y a 7 mois
Parent
commit
71ba6730b8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      template/admin/src/pages/setting/link/index.vue

+ 1 - 1
template/admin/src/pages/setting/link/index.vue

@@ -341,7 +341,7 @@ export default {
     },
     // 编辑树表单
     editLinkCategory(data, type) {
-      this.$modalForm(linkCategoryFormApi(type ? data.id : 1, data.pid ? data.pid : 1)).then(() => this.getList());
+      this.$modalForm(linkCategoryFormApi(type ? data.id : 0, data.id ? data.id : 1)).then(() => this.getList());
     },
     // 分类列表树
     getList(type) {