mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 13:47:44 +00:00
Merge pull request #66 from HDTianRu/main
Fix: "没绑定ck先绑设备的话,就会无限弹提示,直到超时自动结束"
This commit is contained in:
commit
e5507b37fe
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ export class Panel extends ZZZPlugin {
|
||||||
}
|
}
|
||||||
async bindDevice() {
|
async bindDevice() {
|
||||||
const uid = await this.getUID();
|
const uid = await this.getUID();
|
||||||
|
//先throw一步(
|
||||||
|
const ltuid = await this.getLtuid();
|
||||||
this.setContext('toBindDevice');
|
this.setContext('toBindDevice');
|
||||||
await this.reply(
|
await this.reply(
|
||||||
`为UID ${uid}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,
|
`为UID ${uid}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue