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'