Skip to content

Commit

Permalink
chore: 手机预览组件生产环境域名配置
Browse files Browse the repository at this point in the history
手机预览组件生产环境域名配置
  • Loading branch information
hewx815 committed Jul 24, 2023
1 parent e14d8e9 commit fffdc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/components/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ onMounted(() => {
// iframe src
const url = computed(() => {
const baseUrl = process.env.NODE_ENV === 'production' ? 'https://h-uni.hewxing.cn/preview-vue2/#/' : "http://localhost:8080/#/";
const baseUrl = process.env.NODE_ENV === 'production' ? 'https://preview-vue2.h-uni.hewxing.cn/#/' : "http://localhost:8080/#/";
return baseUrl + (previewBtnPath.value ? previewBtnPath.value : props.path);
});
Expand Down

0 comments on commit fffdc96

Please sign in to comment.