Commit b4b69624 by zhangcheng

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

parent 9a8becb7
<template> <template>
<view> <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="shop-car">
<view class="header"> <view class="header">
<text class="left">购物袋</text> <text class="left">购物袋</text>
...@@ -97,6 +97,10 @@ ...@@ -97,6 +97,10 @@
}) })
}, },
closeT(e) {
console.log(e,11111)
this.showShopCar=false;
},
// 清空购物车 // 清空购物车
clearCar() { clearCar() {
uni.removeStorageSync('shopCarInfo'); uni.removeStorageSync('shopCarInfo');
......
...@@ -111,7 +111,7 @@ import { $EventBus } from '@/utils/EventBus'; ...@@ -111,7 +111,7 @@ import { $EventBus } from '@/utils/EventBus';
}, },
computed: { computed: {
userms() { userms() {
let res = uni.getStorageSync("Authorization"); let res = this.$store.getters.Authorization;
return res; 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