mirror of https://github.com/silenty4ng/k5web
Compare commits
4 Commits
93a252f17a
...
e6f7819b58
Author | SHA1 | Date |
---|---|---|
Silent YANG | e6f7819b58 | |
Silent YANG | d53caaf6ae | |
Silent YANG | b15a0bec85 | |
Silent YANG | fa9cdb3214 |
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 New Issue