@wendongfly/myhi 1.0.45 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chat.html CHANGED
@@ -1441,7 +1441,7 @@
1441
1441
 
1442
1442
  // ── 拍照上传 ──────────────────────────────────
1443
1443
  window.openCamera = async function() {
1444
- const input = document.createElement('input'); input.type = 'file'; input.accept = 'image/*'; input.capture = 'environment';
1444
+ const input = document.createElement('input'); input.type = 'file'; input.accept = 'image/*';
1445
1445
  input.onchange = async () => {
1446
1446
  const file = input.files?.[0]; if (!file) return;
1447
1447
  const btn = document.getElementById('btn-photo'); btn.classList.add('active'); btn.disabled = true;