fix: 修复扫一扫登录
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s

This commit is contained in:
sexygoat
2026-04-17 10:56:46 +08:00
parent 16a47c1229
commit 39773341bd
3 changed files with 74 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ const handleScanLogin = async () => {
uni.showToast({ title: result.error || '扫一扫功能暂不可用', icon: 'none' });
return;
}
wx.scanQRCode({
window.wx.scanQRCode({
needResult: 1,
scanType: ['qrCode', 'barCode'],
success: (res) => {