This commit is contained in:
Gdpao
2020-09-05 12:30:22 +08:00
parent 539309b370
commit 388daaa901
4 changed files with 44 additions and 25 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;