diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue index 3db43ee..697fe65 100644 --- a/pageB/sdetails/index.vue +++ b/pageB/sdetails/index.vue @@ -256,6 +256,7 @@ export default { }, methods: { customers(){ + console.log(this.$store.state.hasLogin) if(!this.$store.state.hasLogin){ this.$refs.uToast.show({ title: "请先登录", diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index b5a351a..f0d4c30 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -21,10 +21,10 @@ - + - 想说点什么 + {{$store.state.hasLogin ? '想说点什么' : '请先登录'}}