+
-
-
-
+
+
@@ -223,11 +222,14 @@ const resetQuery = () => {
/** 添加/修改操作 */
const formRef = ref()
-const openForm = (type: string, id?: number) => {
+const formVisible = ref(false)
+const openForm = async (type: string, id?: number) => {
if (type == 'create' && !queryParams.brand) {
message.error('请选择一个模具型号')
return
}
+ formVisible.value = true
+ await nextTick()
formRef.value.open(type, id, queryParams.brand)
}
From 19ff5a47756b13cca953fde2d656c6112aa04113 Mon Sep 17 00:00:00 2001
From: zhongwenkai <3478244299@qq.com>
Date: Mon, 1 Jun 2026 12:00:16 +0800
Subject: [PATCH 2/3] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E7=B3=BB?=
=?UTF-8?q?=E7=BB=9F=E7=AE=A1=E7=90=86=E4=B8=AD=E8=8F=9C=E5=8D=95=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E7=9A=84=E6=96=B0=E5=A2=9E/=E7=BC=96=E8=BE=91?=
=?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/menu/MenuForm.vue | 97 ++++++++++++++++++++++++------
src/views/system/menu/index.vue | 13 +++-
2 files changed, 90 insertions(+), 20 deletions(-)
diff --git a/src/views/system/menu/MenuForm.vue b/src/views/system/menu/MenuForm.vue
index 5ebfbf57..a02dbfa0 100644
--- a/src/views/system/menu/MenuForm.vue
+++ b/src/views/system/menu/MenuForm.vue
@@ -1,13 +1,19 @@
-
+
+
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 681319da..c6e62421 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -1,4 +1,6 @@
+