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/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/model/mpk/menu/index.vue b/src/views/model/mpk/menu/index.vue
index 91fb49f..0578c7e 100644
--- a/src/views/model/mpk/menu/index.vue
+++ b/src/views/model/mpk/menu/index.vue
@@ -8,9 +8,9 @@
       :inline="true"
       label-width="68px"
     >
-      <el-form-item label="模型名称" prop="iconName">
+      <el-form-item label="菜单名称" prop="name">
         <el-input
-          v-model="queryParams.iconName"
+          v-model="queryParams.name"
           placeholder="请输入名称"
           clearable
           class="!w-240px"
@@ -46,7 +46,7 @@
       :data="list"
       row-key="id"
     >
-      <el-table-column prop="name" label="名称"/>
+      <el-table-column prop="name" label="菜单名称"/>
       <el-table-column prop="sort" label="排序"/>
       <el-table-column label="操作" align="center" width="200px">
         <template #default="scope">
@@ -105,7 +105,7 @@
   loading.value = true
   try {
     const data = await MpkMenuApi.getList(queryParams)
-    list.value = data.list
+    list.value = data
   } finally {
     loading.value = false
   }

--
Gitblit v1.9.3