From 63f5ed98df62970efeeffebdd77b5518bec8193e Mon Sep 17 00:00:00 2001 From: jiayu Date: Mon, 11 Nov 2024 11:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=A8=E5=9E=92=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 7 +++++-- .env.production | 7 ++++++- src/views/login/index.vue | 5 ++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 0e1bdce..a4a7aa5 100644 --- a/.env.development +++ b/.env.development @@ -3,9 +3,12 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) # VITE_API_URL = 'http://192.168.34.155:6677' -# VITE_API_URL = 'http://jxjzw.zhgdyun.com:6677' +# 标准版 +# VITE_API_URL = "http://jxjzw.zhgdyun.com:6677" # VITE_API_URL = "http://jxjzw.zhgdyun.com:6678" -VITE_API_URL = 'http://222.80.185.228:6080' +# VITE_API_URL = 'http://222.80.185.228:6080' +# 木垒http +VITE_API_URL = 'http://121.37.106.37:9812' VITE_WPAPI_URL = "http://182.90.224.147:8081" # VITE_API_URL = "http://182.90.224.147:6688" diff --git a/.env.production b/.env.production index 3d2492b..175e766 100644 --- a/.env.production +++ b/.env.production @@ -2,10 +2,15 @@ NODE_ENV = "production" # 线上环境接口地址(easymock) +# 标准版 +# VITE_API_URL = "http://jxjzw.zhgdyun.com:6677" # VITE_API_URL = "http://139.9.66.234:6688" # VITE_API_URL = "http://10.11.13.202:6080" -VITE_API_URL = "http://222.80.185.228:6080" +# VITE_API_URL = "http://222.80.185.228:6080" # VITE_API_URL = "http://jxjzw.zhgdyun.com:6678" +# VITE_API_URL = "https://zm.zhgdyun.com:6080" +# 木垒http +VITE_API_URL = 'http://121.37.106.37:9812' # VITE_API_URL = "http://182.90.224.147:9012" # VITE_API_URL = "http://47.104.132.250:9000" VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" diff --git a/src/views/login/index.vue b/src/views/login/index.vue index d28ad15..092a5f9 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -104,6 +104,9 @@ const login = (formEl: FormInstance | undefined) => { //跳转嵌入iframe的页面 // return router.push("/home"); + window.location.href = "http://222.80.185.228:6080/review/"; + return; + await getPlusConfig(); if (isEnter.value) { toFrontLargeScreen(); @@ -148,7 +151,7 @@ const getPlusConfig = async () => { if (result) { let arr = JSON.parse(result.configValue); console.info(arr, "arr----"); - isEnter.value = arr[3].value; + isEnter.value = arr[3]?.value; } }; // 跳转到后台系统