diff --git a/pages/index/index.vue b/pages/index/index.vue index fd8cded..38186bf 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -122,7 +122,7 @@ }, success:(data)=>{ uni.setStorageSync('userData',data.data.data); - this.requestToken({ + this.request({ url: this.host + "/api/user/info", type: "post", success: (res) => {