@@ -33,19 +123,112 @@
width="70vw"
v-bind="modalConfig.dialog"
style="padding-right: 0"
- @open="handleOpenModal"
@close="handleCloseModal"
>
-
+ :model="formData"
+ :rules="formRules"
+ >
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData[item.prop] }}
+
+
+
+
+
+
+
+
@@ -59,11 +242,19 @@
From e0f78365a05b86d1149179048b57a7137df2dc76 Mon Sep 17 00:00:00 2001
From: cshaptx4869 <994774638@qq.com>
Date: Sat, 25 May 2024 14:01:59 +0800
Subject: [PATCH 2/2] =?UTF-8?q?refactor(PageModal):=20:recycle:=20?=
=?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A0=E6=95=88=E5=BC=95=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/PageModal/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/PageModal/index.vue b/src/components/PageModal/index.vue
index 4dbb77ea..473a6ea8 100644
--- a/src/components/PageModal/index.vue
+++ b/src/components/PageModal/index.vue
@@ -251,7 +251,7 @@ import type {
DrawerProps,
} from "element-plus";
import { useThrottleFn } from "@vueuse/core";
-import { reactive, ref, watch, computed, watchEffect } from "vue";
+import { reactive, ref, watch, watchEffect } from "vue";
// 对象类型
export type IObject = Record
;