This commit is contained in:
shijingjing
2022-09-29 19:01:02 +08:00
parent 1d7c140180
commit 27309d242b

View File

@@ -423,7 +423,7 @@ export default {
// 授权登录 // 授权登录
getAuth() { getAuth() {
this.$nextTick(() => { this.$nextTick(() => {
if(this.token) { if(this.token.length) {
this.form.gatewayId = this.scene this.form.gatewayId = this.scene
const item = this.getewayData.filter(item=> item.value == this.scene) const item = this.getewayData.filter(item=> item.value == this.scene)
this.form.gatewayName = item[0].label this.form.gatewayName = item[0].label