From 70ea2ef8f2fdeff974730d1a6ec2ec73d945bf55 Mon Sep 17 00:00:00 2001
From: Yanbowen <349952469@qq.com>
Date: Fri, 24 Dec 2021 15:23:24 +0800
Subject: [PATCH] =?UTF-8?q?fix(projects):=20=E4=BF=AE=E5=A4=8DuseModal?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=BB=E9=A2=98=E8=89=B2=E5=A4=B1=E6=95=88?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common/Modal/index.vue | 33 +++++++++++++++++++--------
src/hooks/common/useModal.ts | 2 +-
src/views/component/modal/index.vue | 21 ++++++++++++++++-
3 files changed, 44 insertions(+), 12 deletions(-)
diff --git a/src/components/common/Modal/index.vue b/src/components/common/Modal/index.vue
index 9198e23f..20e2f1ce 100644
--- a/src/components/common/Modal/index.vue
+++ b/src/components/common/Modal/index.vue
@@ -1,20 +1,27 @@
-
- {{ isFunction(props.content) ? props.content() : props.content }}
-
+
+
+
+ {{ SlotContent }}
+
+
+
+