Commit b4b69624 by zhangcheng

调整首页登录授权和遮罩点击没反应

parent 9a8becb7
<template>
<view>
<u-popup :show="showShopCar && goods.length" mode="bottom" :round="10" :overlay="true" :closeOnClickOverlay="true">
<u-popup :show="showShopCar && goods.length" mode="bottom" :round="10" :overlay="true" :closeOnClickOverlay="true" @close="closeT">
<view class="shop-car">
<view class="header">
<text class="left">购物袋</text>
......@@ -97,6 +97,10 @@
})
},
closeT(e) {
console.log(e,11111)
this.showShopCar=false;
},
// 清空购物车
clearCar() {
uni.removeStorageSync('shopCarInfo');
......
......@@ -111,7 +111,7 @@ import { $EventBus } from '@/utils/EventBus';
},
computed: {
userms() {
let res = uni.getStorageSync("Authorization");
let res = this.$store.getters.Authorization;
return res;
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment