直播关注
This commit is contained in:
parent
67a8316666
commit
d8a92db5c2
@ -508,6 +508,14 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
guanzhu(){
|
guanzhu(){
|
||||||
|
if(!this.$store.state.hasLogin){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请先登录',
|
||||||
|
duration: 2000,
|
||||||
|
icon:"none"
|
||||||
|
});
|
||||||
|
return ;
|
||||||
|
}
|
||||||
const token = uni.getStorageSync('token');
|
const token = uni.getStorageSync('token');
|
||||||
let that = this
|
let that = this
|
||||||
console.log(token)
|
console.log(token)
|
||||||
|
Loading…
Reference in New Issue
Block a user