diff --git a/pages/index/index.vue b/pages/index/index.vue index 2de42cd..32465be 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -259,7 +259,7 @@ {{cityInfo.shop_name}} - 营业中 + {{cityInfo.is_open==1?'营业中':'休息中'}} diff --git a/pages/user/index.vue b/pages/user/index.vue index ff40083..dcd45c4 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -618,7 +618,6 @@ let rawData = JSON.parse(res.rawData) this.userInfo.avatar_url = rawData.avatarUrl; this.userInfo.nick_name = rawData.nickName; - console.log("用户信息", JSON.parse(res.rawData)) if (rawData) { that.headImgUpload(rawData.avatarUrl, rawData.nickName) } else { @@ -628,7 +627,7 @@ } }) }, - nickSubmit(avatar_id,nick_name) { + nickSubmit(avatar_id, nick_name) { UserApi.editUser({ avatar_id: avatar_id, nick_name: nick_name