mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-15 16:22:44 +00:00
Compare commits
4 commits
93a252f17a
...
e6f7819b58
Author | SHA1 | Date | |
---|---|---|---|
e6f7819b58 | |||
d53caaf6ae | |||
b15a0bec85 | |||
fa9cdb3214 |
6 changed files with 2041 additions and 29730 deletions
18821
package-lock.json
generated
18821
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -21,6 +21,7 @@
|
|||
"@zxing/text-encoding": "^0.9.0",
|
||||
"aegis-web-sdk": "^1.39.1",
|
||||
"axios": "^0.24.0",
|
||||
"chinese-simple2traditional": "^2.1.0",
|
||||
"dayjs": "^1.11.5",
|
||||
"echarts": "^5.4.0",
|
||||
"electron-squirrel-startup": "^1.0.0",
|
||||
|
|
8708
pnpm-lock.yaml
8708
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<a-layout-footer class="footer">
|
||||
<a href="https://github.com/silenty4ng/k5web" target="_blank">K5Web - V0.1.202402182230</a>
|
||||
<a href="https://github.com/silenty4ng/k5web" target="_blank">K5Web - V0.1.202404111620</a>
|
||||
</a-layout-footer>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
import { eeprom_read, uint8ArrayToHexReverseString, uint8ArrayToString, hexReverseStringToUint8Array, stringToUint8Array, eeprom_write, eeprom_reboot, eeprom_init } from '@/utils/serial.js';
|
||||
import { useAppStore } from '@/store';
|
||||
import { MoveIcon } from 'tdesign-icons-vue-next';
|
||||
import { toTraditional } from 'chinese-simple2traditional';
|
||||
|
||||
const appStore = useAppStore();
|
||||
|
||||
|
@ -605,7 +606,7 @@
|
|||
rawEEPROM2.set([(scanlist << 4) + 0], i / 0x10)
|
||||
|
||||
const mergedArray = new Uint8Array(0x10);
|
||||
mergedArray.set(stringToUint8Array(_channel.name ?? "", appStore.configuration?.charset).subarray(0, 0x10), 0);
|
||||
mergedArray.set(stringToUint8Array(_channel.name ? toTraditional(_channel.name) : "", appStore.configuration?.charset).subarray(0, 0x10), 0);
|
||||
rawEEPROM3.set(mergedArray, i)
|
||||
}else{
|
||||
rawEEPROM.set(hexReverseStringToUint8Array("ffffffffffffffffffffffffffffffff"), i)
|
||||
|
|
Loading…
Reference in a new issue