fix: BUG 404

This commit is contained in:
Tony 2023-12-06 13:23:20 +08:00
parent 1dc659c865
commit ec6f08dc7e
3 changed files with 5 additions and 1 deletions

View File

@ -9,3 +9,5 @@ VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_APP_BACKEND_URL = 'http://127.0.0.1:8080'

View File

@ -6,3 +6,5 @@ ENV = 'production'
# 智慧车间安防监控与管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BACKEND_URL = 'http://117.73.11.115:8086/ytr-god'

View File

@ -8,7 +8,7 @@ export default {
components: { iFrame },
data() {
return {
url: process.env.VUE_APP_BASE_API + "/druid/login.html"
url: process.env.VUE_APP_BACKEND_URL + "/druid/login.html"
};
},
};