mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-08 21:04:19 +00:00
update
This commit is contained in:
parent
0b639732ff
commit
f26d4100f0
1 changed files with 4 additions and 8 deletions
|
@ -5,9 +5,9 @@
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-card class="general-card" title="字库写入">
|
<a-card class="general-card" title="字库写入">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button @click="restore(1)">写入 117 字库(K)</a-button>
|
<a-button @click="restore(1)">写入 117 字库</a-button>
|
||||||
<a-button @click="restore(2)">写入 118+ 字库(K)</a-button>
|
<a-button @click="restore(2)">写入 118+ 字库</a-button>
|
||||||
<a-button @click="restore(3)">写入 118+ 字库(H)</a-button>
|
<!-- <a-button @click="restore(3)">写入 118+ 字库(H)</a-button> -->
|
||||||
<a-button @click="restore(4)">写入拼音检索表(2Mbit EEPROM可用)</a-button>
|
<a-button @click="restore(4)">写入拼音检索表(2Mbit EEPROM可用)</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
<a-divider />
|
<a-divider />
|
||||||
|
@ -54,11 +54,7 @@ const restore = async(type: any = 1) => {
|
||||||
alert('固件版本不匹配');
|
alert('固件版本不匹配');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if((type == 2 && appStore.configuration?.charset != "gb2312") || (type == 2 && appStore.configuration?.K != true)){
|
if(type == 2 && appStore.configuration?.charset != "gb2312"){
|
||||||
alert('固件版本不匹配');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if((type == 3 && appStore.configuration?.charset != "gb2312") || (type == 3 && appStore.configuration?.H != true)){
|
|
||||||
alert('固件版本不匹配');
|
alert('固件版本不匹配');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue