修改发送电子钥匙流程

This commit is contained in:
范鹏 2024-09-02 09:38:27 +08:00
parent 1e746bc971
commit 21a587d9ad

View File

@ -157,7 +157,15 @@ export default {
this.backAndToast('钥匙已发送')
} else if(code === 425) {
this.pending = false
await this.createKey(type, true)
uni.showModal({
title: '提示',
content: `是否发送电子钥匙给未注册账号\n${ params.receiverUsername }`,
success: async (res) => {
if (res.confirm) {
await this.createKey(type, true)
}
}
})
} else {
uni.showToast({
title: message,