优化:支持控制是否显示

This commit is contained in:
iqudoo
2026-04-30 11:17:05 +08:00
parent 8ebe8b0b34
commit f3c0856506
11 changed files with 142 additions and 26 deletions

6
dist/index.html vendored
View File

@@ -100,7 +100,11 @@
output("call ready");
hide();
var url = "https://vet.iqudoo.com/api?action=api.biz.wechat.JSSDKConfig";
initSDK({ initWechatJssdk: { apiUrl: url } }, function () {
initSDK({
webCanvasEnabled: true,
webScanBeepEnabled: true,
initWechatJssdk: { apiUrl: url }
}, function () {
IScan.setStatusListener(function (res) {
output("status", IScan.getStatus());
});