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)) }