This commit is contained in:
Gdpao
2020-09-19 20:02:43 +08:00
parent a732778481
commit 49fe886234
9 changed files with 127 additions and 25 deletions

View File

@@ -50,13 +50,13 @@ export default {
watch: {
isLoginOut() {
// console.log(this.isLoginOut);
if (this.isLoginOut) {
uni.hideTabBar();
} else {
setTimeout(function() {
uni.showTabBar();
},200)
}
// if (this.isLoginOut) {
// uni.hideTabBar();
// } else {
// setTimeout(function() {
// uni.showTabBar();
// },200)
// }
}
},
onLoad() {
@@ -101,8 +101,8 @@ export default {
plus.cache.clear(function(e) {
console.log(e);
})
this.getCache();
}
this.getCache();
}
})
// #endif

View File

@@ -5,7 +5,7 @@
<text>更换头像</text>
</view>
<view class="item">
<text class="title">用户名</text>
<text class="title">店铺名称</text>
<input type="text" value="" v-model="info.member_nickname" placeholder="请输入用户名"/>
</view>
<view class="item">
@@ -37,6 +37,7 @@ export default {
this.role = userinfo.role;
// console.log(this.role);
},
// 保存信息
onNavigationBarButtonTap() {
let that = this;
let obj ={

View File

@@ -111,12 +111,12 @@ export default {
confirmColor: "#f00",
success: (res) => {
// console.log(res);
if (res.confirm) {
plus.cache.clear(function(e) {
console.log(e);
})
}
this.getCache();
if (res.confirm) {
plus.cache.clear(function(e) {
console.log(e);
})
this.getCache();
}
}
})
// #endif