From 75296d3b8459d69309c1fd845bd6268bec32fe58 Mon Sep 17 00:00:00 2001 From: Silent YANG Date: Wed, 26 Jun 2024 21:59:32 +0800 Subject: [PATCH] update --- src/views/list/card/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/list/card/index.vue b/src/views/list/card/index.vue index bbd295d..278d306 100644 --- a/src/views/list/card/index.vue +++ b/src/views/list/card/index.vue @@ -150,6 +150,7 @@ const restoreRange = async (start: any = 0) => { await eeprom_init(appStore.connectPort); const input = document.createElement('input'); input.type = 'file'; + input.accept = '.bin'; input.onchange = async() => { const blob = new Blob([input.files[0]], {type: 'application/octet-stream' }); const rawEEPROM = new Uint8Array(await blob.arrayBuffer());