fix: 切换运营商
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 52s

This commit is contained in:
luo
2026-07-03 12:29:16 +08:00
parent 5b239c13b7
commit d90a51ebf4

View File

@@ -195,7 +195,8 @@
if (scanValue.includes('?')) { if (scanValue.includes('?')) {
const params = new URLSearchParams(scanValue.split('?')[1]); const params = new URLSearchParams(scanValue.split('?')[1]);
return params.get('cardNum') || params.get('identifier') || ''; const queryValue = params.get('cardNum') || params.get('identifier');
if (queryValue) return queryValue;
} }
const match = scanValue.match(/=([^=]+)$/); const match = scanValue.match(/=([^=]+)$/);