From b8017e80af4b24d7c9fd5cfffc9104a6efa0706e Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期日, 29 九月 2024 08:54:18 +0800
Subject: [PATCH] 模型库页面优化

---
 src/views/model/mpk/menu/group/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/model/mpk/menu/group/index.vue b/src/views/model/mpk/menu/group/index.vue
index 30fcf85..85bd737 100644
--- a/src/views/model/mpk/menu/group/index.vue
+++ b/src/views/model/mpk/menu/group/index.vue
@@ -104,7 +104,7 @@
   loading.value = true
   try {
     const data = await MpkGroupApi.getList(queryParams)
-    list.value = data.list
+    list.value = data
   } finally {
     loading.value = false
   }
@@ -124,7 +124,7 @@
 /** 添加/修改操作 */
 const formRef = ref()
 const openForm = (type: string, id?: string) => {
-  formRef.value.open(type, id)
+  formRef.value.open(type, id, queryParams.menuId)
 }
 
 /** 删除按钮操作 */

--
Gitblit v1.9.3