From 672d910a3e10686be7f7a0102ad769b8344edb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Sat, 22 Mar 2025 14:02:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Home):=20=E4=BC=98=E5=8C=96=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E9=97=AE=E5=8D=B7=E5=BC=B9=E7=AA=97=E7=9A=84=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 NewSurvey 组件中的 van-popup 添加 teleport="#app" 属性- 这个改动可以让弹窗在应用的最外层容器 (#app) 中渲染,避免层级问题 --- src/views/Home/components/NewSurvey/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Home/components/NewSurvey/index.vue b/src/views/Home/components/NewSurvey/index.vue index 05e9b72..b3e9bdd 100644 --- a/src/views/Home/components/NewSurvey/index.vue +++ b/src/views/Home/components/NewSurvey/index.vue @@ -3,7 +3,7 @@ + 新建问卷 - +