Merge pull request #66 from HDTianRu/main

Fix: "没绑定ck先绑设备的话,就会无限弹提示,直到超时自动结束"
This commit is contained in:
bietiaop 2024-08-28 10:00:30 +08:00 committed by GitHub
commit e5507b37fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,8 @@ export class Panel extends ZZZPlugin {
}
async bindDevice() {
const uid = await this.getUID();
//先throw一步
const ltuid = await this.getLtuid();
this.setContext('toBindDevice');
await this.reply(
`为UID ${uid}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,