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

This commit is contained in:
sexygoat
2026-04-17 11:18:46 +08:00
parent f72b77fe0d
commit 5f4a26e693
4 changed files with 33 additions and 63 deletions

View File

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