fix(scan-checkin): 移除扫码 scanType 限制
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -242,7 +242,6 @@ const handleScanCheckin = async () => { | ... | @@ -242,7 +242,6 @@ const handleScanCheckin = async () => { |
| 242 | 242 | ||
| 243 | const scanResult = await Taro.scanCode({ | 243 | const scanResult = await Taro.scanCode({ |
| 244 | onlyFromCamera: false, | 244 | onlyFromCamera: false, |
| 245 | - scanType: ['qrCode', 'barCode', 'WX_CODE'], | ||
| 246 | }) | 245 | }) |
| 247 | 246 | ||
| 248 | const scannedCode = scanResult.path || scanResult.result || '' | 247 | const scannedCode = scanResult.path || scanResult.result || '' | ... | ... |
-
Please register or login to post a comment