소스 검색

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

evoxwht 8 달 전
부모
커밋
71ba6730b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {