From d5207d8eaff6188ae0d79c07de17d0b8dbaed65a Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 11:45:14 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/views/model/mpk/menu/index.vue b/src/views/model/mpk/menu/index.vue
index 91fb49f..6ba4c18 100644
--- a/src/views/model/mpk/menu/index.vue
+++ b/src/views/model/mpk/menu/index.vue
@@ -7,10 +7,11 @@
       ref="queryFormRef"
       :inline="true"
       label-width="68px"
+      @submit.prevent
     >
-      <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 +47,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 +106,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