diff --git a/.env.development b/.env.development index e4f9680..f15a303 100644 --- a/.env.development +++ b/.env.development @@ -2,6 +2,6 @@ ENV = 'development' # base api -#VUE_APP_BASE_API = 'http://safety.115.langye.net/' +VUE_APP_BASE_API = 'http://safety.115.langye.net/' -VUE_APP_BASE_API = http://192.168.60.99:9001/ +#VUE_APP_BASE_API = http://192.168.60.99:9001/ diff --git a/.env.production b/.env.production index c706107..5b359d5 100644 --- a/.env.production +++ b/.env.production @@ -4,3 +4,4 @@ ENV = 'production' # base api VUE_APP_BASE_API = http://192.168.60.99:9001/ +#VUE_APP_BASE_API = 'http://safety.115.langye.net/' \ No newline at end of file diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 383c7d7..cd1458b 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -48,17 +48,19 @@ const actions = { }, userInfo) { const { token, - tp + tp, + loginId } = userInfo return new Promise((resolve, reject) => { loginOss({ token: token, - tp: tp + tp: tp, + loginId: loginId }).then(response => { //console.log(response) - + const { data } = response; diff --git a/src/views/daily/deptindex.vue b/src/views/daily/deptindex.vue index 7c39a17..1f934a0 100644 --- a/src/views/daily/deptindex.vue +++ b/src/views/daily/deptindex.vue @@ -28,7 +28,7 @@