From 65140af1dfcdd971182aa86c9e622df79f6bdc76 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sun, 3 Mar 2024 16:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 2 +- pages/user/index.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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