From 8df5bc27014dec1865fba1235b45e1d389566beb Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Mon, 10 Aug 2020 17:30:41 +0800
Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pageB/sdetails/index.vue | 1 +
pages/zhibo/index.nvue | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
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 ? '想说点什么' : '请先登录'}}