Fix: "没绑定ck先绑设备的话,就会无限弹提示,直到超时自动结束"

This commit is contained in:
HDTianRu 2024-08-28 09:28:34 +08:00
parent 1c4798f9b8
commit 72702ec6c3

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}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,