From 94fdcdc78ce38d28a168ee9e9e257ac90df8d9c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=9A=E7=8E=89=E5=B8=86?= Date: Thu, 15 Feb 2024 23:16:01 +0800 Subject: [PATCH] update --- src/views/list/card/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/list/card/index.vue b/src/views/list/card/index.vue index 00f5a04..27bc0fe 100644 --- a/src/views/list/card/index.vue +++ b/src/views/list/card/index.vue @@ -3,7 +3,7 @@ - + @@ -16,6 +16,7 @@ 备份 + 恢复 8KB(64Kbit) @@ -44,7 +45,9 @@ const appStore = useAppStore(); const state = reactive({ status: "点击备份按钮将生成 EEPROM 备份文件

", - eepromType: "" + eepromType: "", + showHide: 0, + startInfo: "0x00" }) const checkEeprom = async () => { @@ -148,7 +151,7 @@ const backup = async() => { const restore = async() => { if(appStore.connectState != true){alert('请先连接手台!'); return;}; - await restoreRange() + await restoreRange(parseInt(state.startInfo)) }