flat: 暂存
This commit is contained in:
2
.env.development
Normal file
2
.env.development
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
VUE_APP_SITE='default'
|
||||||
|
VUE_APP_LOGIN_ERROR = 'http://10.160.7.216:9920/casserver/login'
|
||||||
2
.env.production
Normal file
2
.env.production
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
VUE_APP_SITE='default'
|
||||||
|
VUE_APP_LOGIN_ERROR = 'http://10.160.7.216:9920/casserver/login'
|
||||||
@@ -175,6 +175,9 @@ export default {
|
|||||||
loading.close();
|
loading.close();
|
||||||
this.proLoading = false
|
this.proLoading = false
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
if(obj.ticket) {
|
||||||
|
return window.location.href = process.env.VUE_APP_LOGIN_ERROR
|
||||||
|
}
|
||||||
this.proLoading = false
|
this.proLoading = false
|
||||||
loading.close();
|
loading.close();
|
||||||
this.refreshCode();
|
this.refreshCode();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ module.exports = {
|
|||||||
port: 1888,
|
port: 1888,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: 'http://192.168.3.215:8000',
|
target: 'http://10.165.0.173:8000',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user