feat:大屏跳转

This commit is contained in:
dzc committed 2025-10-23 21:00:38 +08:00
1 parent 5547ec3c9d
commit 13497eb22d
1 file changed
+6 -1
+6 -1
View File
@@ -14,7 +14,12 @@ const loading = ref(false)
onMounted(async () => {
try {
openPlanUrl("http://localhost:5173/#/canteen")
// 是否生成环境
if (import.meta.env.VITE_ENV === "prod") {
openPlanUrl("https://stgl.pj.gov.cn/cockpit/#/canteen")
} else {
openPlanUrl("http://localhost:5173/#/canteen")
}
loading.value = true
router.back()
} catch (error: any) {