token
This commit is contained in:
		@@ -420,12 +420,14 @@ export default {
 | 
			
		||||
 | 
			
		||||
  methods: {
 | 
			
		||||
    ...mapActions(['getUserInfo']),
 | 
			
		||||
    // 授权登录
 | 
			
		||||
    getAuth() {
 | 
			
		||||
      this.$nextTick(() => {
 | 
			
		||||
        this.token && this.getUserInfo()
 | 
			
		||||
        this.form.gatewayId = this.scene
 | 
			
		||||
        this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || ''
 | 
			
		||||
        this.pageShow = true
 | 
			
		||||
        if(this.token) {
 | 
			
		||||
          this.form.gatewayId = this.scene
 | 
			
		||||
          this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || ''
 | 
			
		||||
          this.pageShow = true
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user