fix: 问题修复
This commit is contained in:
parent
c1178e50b2
commit
23494f477b
3
.env.dev
3
.env.dev
@ -4,4 +4,5 @@ VITE_PROXY_API_URL = "/API"
|
|||||||
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
|
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
|
||||||
VITE_NEED_LOGIN = "true"
|
VITE_NEED_LOGIN = "true"
|
||||||
VITE_NEED_IM = "true"
|
VITE_NEED_IM = "true"
|
||||||
VITE_NEED_CA = "true"
|
VITE_NEED_CA = "true"
|
||||||
|
VITE_STORE_QRCODE_BASE="https://www.youcan365.com/hn/hnhlw?storeId="
|
||||||
1
.env.hn
1
.env.hn
@ -4,3 +4,4 @@ VITE_NEED_IM = "true"
|
|||||||
VITE_NEED_CA = "false"
|
VITE_NEED_CA = "false"
|
||||||
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
|
VITE_CORP_ID = "4G7H8J2K9L0M1N3P5Q6R7S8T9U"
|
||||||
VITE_API_URL = "https://patient.youcan365.com/hn/"
|
VITE_API_URL = "https://patient.youcan365.com/hn/"
|
||||||
|
VITE_STORE_QRCODE_BASE="https://www.youcan365.com/hn/hnhlw?storeId="
|
||||||
|
|||||||
@ -25,7 +25,7 @@ const props = defineProps({
|
|||||||
store: { type: Object, default: () => ({}) },
|
store: { type: Object, default: () => ({}) },
|
||||||
visible: { type: Boolean, default: false },
|
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()
|
const qrcodeRef = ref()
|
||||||
function close() {
|
function close() {
|
||||||
emits('close')
|
emits('close')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user