fix:修复C端白名单验证弹框不出现的问题 (#389)

This commit is contained in:
chaorenluo 2024-08-07 18:33:23 +08:00 committed by GitHub
parent 42b8d74ead
commit 6fb337633c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -49,12 +49,12 @@ const state = reactive({
is_submit: false is_submit: false
}) })
const baseConf = computed(() => store.state.baseConf || {}) const baseConf = computed(() => surveyStore?.baseConf || {})
const isPwd = computed(() => baseConf.value.passwordSwitch) const isPwd = computed(() => baseConf.value.passwordSwitch)
const whitelistType = computed(() => baseConf.value.whitelistType) const whitelistType = computed(() => baseConf.value.whitelistType)
const memberType = computed(() => baseConf.value.memberType) const memberType = computed(() => baseConf.value.memberType)
const whitelistTip = computed(() => baseConf.value.whitelistTip) const whitelistTip = computed(() => baseConf.value.whitelistTip)
const surveyPath = computed(() => store.state?.surveyPath || '') const surveyPath = computed(() => surveyStore?.surveyPath || '')
const isValue = computed(() => { const isValue = computed(() => {
if (!whitelistType.value) return false if (!whitelistType.value) return false

View File

@ -16,6 +16,7 @@
></SubmitButton> ></SubmitButton>
</div> </div>
<LogoIcon :logo-conf="logoConf" :readonly="true" /> <LogoIcon :logo-conf="logoConf" :readonly="true" />
<VerifyWhiteDialog/>
</div> </div>
</div> </div>
</template> </template>
@ -27,6 +28,7 @@ import { useRouter } from 'vue-router'
import communalLoader from '@materials/communals/communalLoader.js' import communalLoader from '@materials/communals/communalLoader.js'
import MainRenderer from '../components/MainRenderer.vue' import MainRenderer from '../components/MainRenderer.vue'
import AlertDialog from '../components/AlertDialog.vue' import AlertDialog from '../components/AlertDialog.vue'
import VerifyWhiteDialog from '../components/VerifyWhiteDialog.vue'
import ConfirmDialog from '../components/ConfirmDialog.vue' import ConfirmDialog from '../components/ConfirmDialog.vue'
import ProgressBar from '../components/ProgressBar.vue' import ProgressBar from '../components/ProgressBar.vue'