gdpao
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ={
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user