xbx #225
@ -508,6 +508,14 @@ export default {
 | 
			
		||||
      });
 | 
			
		||||
    },
 | 
			
		||||
    guanzhu(){
 | 
			
		||||
      if(!this.$store.state.hasLogin){
 | 
			
		||||
       uni.showToast({
 | 
			
		||||
          title: '请先登录',
 | 
			
		||||
          duration: 2000,
 | 
			
		||||
          icon:"none"
 | 
			
		||||
        });
 | 
			
		||||
        return ;
 | 
			
		||||
      }
 | 
			
		||||
      const token = uni.getStorageSync('token');
 | 
			
		||||
      let that = this
 | 
			
		||||
      console.log(token)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user