临时修复了提示

This commit is contained in:
2020-09-10 10:05:04 +08:00
parent 0f85f77520
commit d0107c5729
6 changed files with 213 additions and 89 deletions

View File

@@ -12,7 +12,7 @@
<text class="title">个性签名</text>
<input type="text" value="" v-model="info.signature" placeholder="请输入个性签名"/>
</view>
<view class="password" @click="updatePwd">
<view class="password" @click="updatePwd" v-if="role != 4">
<text>修改密码</text>
<image src="/static/image/user/1.png"></image>
</view>
@@ -27,11 +27,15 @@ export default {
fileurl: "",
filename:"",
info:{},
num:0
num:0,
role: 0,
};
},
onLoad() {
this.getmyinfo()
this.getmyinfo();
let userinfo = uni.getStorageSync("userinfo");
this.role = userinfo.role;
// console.log(this.role);
},
onNavigationBarButtonTap() {
let that = this;