|
@@ -112,7 +112,7 @@ export default {
|
|
this.showQRCode = !!this.deviceId; // 根据 deviceId 控制是否显示二维码
|
|
this.showQRCode = !!this.deviceId; // 根据 deviceId 控制是否显示二维码
|
|
this.initSocket(this.deviceId);
|
|
this.initSocket(this.deviceId);
|
|
if (this.showQRCode) {
|
|
if (this.showQRCode) {
|
|
- this.getQrCode();
|
|
|
|
|
|
+ this.getQrCode();
|
|
}else{
|
|
}else{
|
|
// deviceId 为空时显示错误提示
|
|
// deviceId 为空时显示错误提示
|
|
this.errorMessage = '请检查账号是否正确或是否审核通过';
|
|
this.errorMessage = '请检查账号是否正确或是否审核通过';
|