|
@@ -337,7 +337,7 @@ export default {
|
|
|
goMore(){
|
|
goMore(){
|
|
|
let that = this
|
|
let that = this
|
|
|
uni.showActionSheet({
|
|
uni.showActionSheet({
|
|
|
- itemList: ['已屏蔽列表', '改进建议','开关商城','申请批发店系统','修改密码'],
|
|
|
|
|
|
|
+ itemList: ['已屏蔽列表', '改进建议','开关商城','申请批发店系统','修改密码','退出登录'],
|
|
|
success: function (res) {
|
|
success: function (res) {
|
|
|
if(res.tapIndex == 0){
|
|
if(res.tapIndex == 0){
|
|
|
that.$util.pageTo({url: '/pagesPurchase/pb'})
|
|
that.$util.pageTo({url: '/pagesPurchase/pb'})
|
|
@@ -354,6 +354,18 @@ export default {
|
|
|
if(res.tapIndex == 4){
|
|
if(res.tapIndex == 4){
|
|
|
that.$util.pageTo({url:'/admin/shop/password'})
|
|
that.$util.pageTo({url:'/admin/shop/password'})
|
|
|
}
|
|
}
|
|
|
|
|
+ if(res.tapIndex == 5){
|
|
|
|
|
+ // #ifdef APP-PLUS
|
|
|
|
|
+ that.$util.confirmModal({content:'确认退出?'},() => {
|
|
|
|
|
+ uni.clearStorage()
|
|
|
|
|
+ that.$store.commit("setLoginInfo", {})
|
|
|
|
|
+ plus.runtime.restart()
|
|
|
|
|
+ })
|
|
|
|
|
+ // #endif
|
|
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
|
|
+ that.$msg('开发中')
|
|
|
|
|
+ // #endif
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|