|
|
@@ -427,6 +427,7 @@ export default {
|
|
|
},
|
|
|
onShow: function () {
|
|
|
this.userinfo = uni.getStorageSync("userinfo");
|
|
|
+ this.isShiMing = this.userinfo.is_authentication == 0 ? true : false;
|
|
|
let token = uni.getStorageSync("token");
|
|
|
if (!token) {
|
|
|
this.login();
|
|
|
@@ -453,7 +454,7 @@ export default {
|
|
|
|
|
|
// 获取用户信息
|
|
|
loadData() {
|
|
|
- u_post("ShuZiTeaYW/my/index", {
|
|
|
+ post("ShuZiTeaYW/my/index", {
|
|
|
userId: this.user_id,
|
|
|
}).then((res) => {
|
|
|
if (res.status == 200) {
|
|
|
@@ -470,7 +471,7 @@ export default {
|
|
|
var that = this;
|
|
|
uni.showLoading({ mask: true });
|
|
|
appEv.setData((res) => {
|
|
|
- that.loadData();
|
|
|
+ // that.loadData();
|
|
|
uni.hideLoading();
|
|
|
that.showAuth = false;
|
|
|
});
|