@wendongfly/myhi 1.0.46 → 1.0.48
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 +1 -1
- package/dist/index.js +2 -2
- package/dist/terminal.html +0 -1
- package/package.json +1 -1
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/*';
|
|
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;
|