From 5b437d5342b5c240dece083118c99cca4a111d17 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 11 May 2026 18:22:52 +0800 Subject: [PATCH] no message --- root/person/info.vue | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/root/person/info.vue b/root/person/info.vue index 77d7784..b3af7be 100644 --- a/root/person/info.vue +++ b/root/person/info.vue @@ -52,6 +52,7 @@ export default { }, data() { return { + isRelease: uni.getAccountInfoSync().miniProgram.envVersion === 'release', themeColor: getApp().globalData.themeColor, isAdmin: uni.getStorageSync("apply-userinfo").admin, userinfo: {}, @@ -140,7 +141,26 @@ export default { tip: "mobile", }, ]; - that.list = defaultList; + if (that.isRelease) { + that.list = defaultList; + }else{ + that.list = [ + { + icon: "", + label: "用户名", + result: that.userinfo.userName, + path: "/root/person/change?title=设置用户名&remark=好的花名,让团队成员更好记住你&value=" + that.userinfo.userName, + tip: "username", + }, + { + icon: "", + label: "手机号", + result: that.userinfo.tel, + path: "/root/person/change?title=设置手机号&remark=&value=" + that.userinfo.tel, + tip: "mobile", + }, + ]; + } }, getBocaiId() { let that = this;