fix: 问题修复

This commit is contained in:
huxuejian 2026-07-31 18:30:59 +08:00
parent c1178e50b2
commit 23494f477b
3 changed files with 4 additions and 2 deletions

View File

@ -4,4 +4,5 @@ VITE_PROXY_API_URL = "/API"
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
VITE_NEED_LOGIN = "true"
VITE_NEED_IM = "true"
VITE_NEED_CA = "true"
VITE_NEED_CA = "true"
VITE_STORE_QRCODE_BASE="https://www.youcan365.com/hn/hnhlw?storeId="

View File

@ -4,3 +4,4 @@ VITE_NEED_IM = "true"
VITE_NEED_CA = "false"
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
VITE_API_URL = "https://patient.youcan365.com/hn/"
VITE_STORE_QRCODE_BASE="https://www.youcan365.com/hn/hnhlw?storeId="

View File

@ -25,7 +25,7 @@ const props = defineProps({
store: { type: Object, default: () => ({}) },
visible: { type: Boolean, default: false },
})
const qrcode = computed(() => props.store.store_id ? `https://zyt.youcan365.com/store?storeId=${props.store.store_id}` : '') //
const qrcode = computed(() => props.store.store_id ? `${import.meta.env.VITE_STORE_QRCODE_BASE}${props.store.store_id}` : '')
const qrcodeRef = ref()
function close() {
emits('close')