Commit 0f7b49c2 authored by nick zheng's avatar nick zheng

fix: 数字人对话发布链接区分环境

parent b045adde
......@@ -21,7 +21,9 @@ const props = defineProps<Props>()
const emit = defineEmits<Emits>()
const shareLink = computed(() => {
return `${AI_INDEX_URLS[window.ENV || 'DEV']}digital-work-preview/${props.configId}`
const ENV = import.meta.env.VITE_APP_ENV
return `${AI_INDEX_URLS[ENV]}digital-work-preview/${props.configId}`
})
const showModal = computed({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment