fix:调整已注册的卡片没有回调的问题

This commit is contained in:
liyi 2025-06-12 17:32:44 +08:00
parent d2071f2e88
commit 81bc00e03e
3 changed files with 47 additions and 45 deletions

View File

@ -70,6 +70,8 @@ Page({
console.log('收到卡片确认事件', data, this.data.cardId, this.data.cardNumber); console.log('收到卡片确认事件', data, this.data.cardId, this.data.cardNumber);
// 添加成功后自动刷新列表 // 添加成功后自动刷新列表
await this.findAllCard(); await this.findAllCard();
} else {
console.log('收到卡片确认事件', data, this.data.cardId, this.data.cardNumber);
} }
}); });

8
package-lock.json generated
View File

@ -24,7 +24,7 @@
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001", "@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001", "@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
"pinia": "^2.2.8", "pinia": "^2.2.8",
"star-cloud-uni": "^1.0.16", "star-cloud-uni": "^1.0.17",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-i18n": "^9.1.9" "vue-i18n": "^9.1.9"
}, },
@ -10046,9 +10046,9 @@
} }
}, },
"node_modules/star-cloud-uni": { "node_modules/star-cloud-uni": {
"version": "1.0.16", "version": "1.0.17",
"resolved": "https://registry.npmjs.org/star-cloud-uni/-/star-cloud-uni-1.0.16.tgz", "resolved": "https://registry.npmjs.org/star-cloud-uni/-/star-cloud-uni-1.0.17.tgz",
"integrity": "sha512-Q9KF7C41WD5KH3EePgkFTIxaLnbc/uL4N0iu6qzmZ+6N8bJIHQaJAcnJPho+TQVsnyv9fkTOR4bF0oOqqg/dGg==", "integrity": "sha512-xo34TDSasHRVIiPvE+a1Tuk3uB0CSJsGAsu/jpsAmT2lqfbQhJlwwZwA0WrZjxckLgYEwjzQKTj7AcPcbwOwqA==",
"dependencies": { "dependencies": {
"buffer": "^6.0.3", "buffer": "^6.0.3",
"crc": "^4.3.2", "crc": "^4.3.2",

View File

@ -52,7 +52,7 @@
"@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001", "@dcloudio/uni-mp-xhs": "3.0.0-4030620241128001",
"@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001", "@dcloudio/uni-quickapp-webview": "3.0.0-4030620241128001",
"pinia": "^2.2.8", "pinia": "^2.2.8",
"star-cloud-uni": "^1.0.16", "star-cloud-uni": "^1.0.17",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-i18n": "^9.1.9" "vue-i18n": "^9.1.9"
}, },