diff --git a/App.vue b/App.vue index ec1fd2a..5ea5f17 100644 --- a/App.vue +++ b/App.vue @@ -70,8 +70,7 @@ right: 0; } */ - uni-page-body { - background-color: #F5F5F5 !important; + uni-page-body { min-height: 100% !important; height: auto !important; background: linear-gradient(to bottom right, pink, #a900ff7a, pink); diff --git a/common/ajax.js b/common/ajax.js index 09a3c78..a041ac3 100644 --- a/common/ajax.js +++ b/common/ajax.js @@ -29,7 +29,7 @@ instance.interceptors.response.use( response => { if (response.statusCode == 200) { let res = response.data; - if (res.hasOwnProperty('token')) + if (res.hasOwnProperty('token') && res.token!= "") uni.setStorageSync('token', res.token); return response.data } diff --git a/member/profile/profile.vue b/member/profile/profile.vue index 11c3750..fcb6721 100644 --- a/member/profile/profile.vue +++ b/member/profile/profile.vue @@ -39,8 +39,8 @@ - - + @@ -66,7 +66,13 @@