diff --git a/report-ui/src/utils/request.js b/report-ui/src/utils/request.js index 98fd24bc..77453695 100644 --- a/report-ui/src/utils/request.js +++ b/report-ui/src/utils/request.js @@ -49,7 +49,7 @@ service.interceptors.response.use( type: 'error', duration: 5 * 1000 }) - return Promise.reject('error') + return response.data } else { return response.data } diff --git a/report-ui/src/views/login.vue b/report-ui/src/views/login.vue index 56814d20..1f3e802a 100644 --- a/report-ui/src/views/login.vue +++ b/report-ui/src/views/login.vue @@ -8,20 +8,19 @@
用户名
密码
- -记住密码