From 6fb337633c459ff99ed88eb0af8c77d61691e2b5 Mon Sep 17 00:00:00 2001
From: chaorenluo <1243357953@qq.com>
Date: Wed, 7 Aug 2024 18:33:23 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8DC=E7=AB=AF=E7=99=BD?=
=?UTF-8?q?=E5=90=8D=E5=8D=95=E9=AA=8C=E8=AF=81=E5=BC=B9=E6=A1=86=E4=B8=8D?=
=?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E9=97=AE=E9=A2=98=20(#389)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/render/components/VerifyWhiteDialog.vue | 4 ++--
web/src/render/pages/RenderPage.vue | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/web/src/render/components/VerifyWhiteDialog.vue b/web/src/render/components/VerifyWhiteDialog.vue
index 1d53d741..4e61768f 100644
--- a/web/src/render/components/VerifyWhiteDialog.vue
+++ b/web/src/render/components/VerifyWhiteDialog.vue
@@ -49,12 +49,12 @@ const state = reactive({
is_submit: false
})
-const baseConf = computed(() => store.state.baseConf || {})
+const baseConf = computed(() => surveyStore?.baseConf || {})
const isPwd = computed(() => baseConf.value.passwordSwitch)
const whitelistType = computed(() => baseConf.value.whitelistType)
const memberType = computed(() => baseConf.value.memberType)
const whitelistTip = computed(() => baseConf.value.whitelistTip)
-const surveyPath = computed(() => store.state?.surveyPath || '')
+const surveyPath = computed(() => surveyStore?.surveyPath || '')
const isValue = computed(() => {
if (!whitelistType.value) return false
diff --git a/web/src/render/pages/RenderPage.vue b/web/src/render/pages/RenderPage.vue
index 49de9a59..3b3be13b 100644
--- a/web/src/render/pages/RenderPage.vue
+++ b/web/src/render/pages/RenderPage.vue
@@ -16,6 +16,7 @@
>
+
@@ -27,6 +28,7 @@ import { useRouter } from 'vue-router'
import communalLoader from '@materials/communals/communalLoader.js'
import MainRenderer from '../components/MainRenderer.vue'
import AlertDialog from '../components/AlertDialog.vue'
+import VerifyWhiteDialog from '../components/VerifyWhiteDialog.vue'
import ConfirmDialog from '../components/ConfirmDialog.vue'
import ProgressBar from '../components/ProgressBar.vue'