|
|
|
|
@ -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;
|
|
|
|
|
|