mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-08 21:04:19 +00:00
update
This commit is contained in:
parent
5fb5ca5ad7
commit
d0000f8deb
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@
|
||||||
colKey: 'name',
|
colKey: 'name',
|
||||||
width: 250,
|
width: 250,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
cell: (h, { row }) => row.name ? row.name.replace(/[^a-z0-9_]/g, '') : undefined,
|
cell: (h, { row }) => row.name ? row.name.replace(/[^a-zA-Z0-9_]/g, '') : undefined,
|
||||||
edit: {
|
edit: {
|
||||||
component: Input,
|
component: Input,
|
||||||
props: {
|
props: {
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
for (let i = 0; i < 0x100; i += 0x10) {
|
for (let i = 0; i < 0x100; i += 0x10) {
|
||||||
if(uint8ArrayToHexReverseString(rawEEPROM.subarray(i, i + 0x02)) != 'ffff'){
|
if(uint8ArrayToHexReverseString(rawEEPROM.subarray(i, i + 0x02)) != 'ffff'){
|
||||||
_renderData.push({
|
_renderData.push({
|
||||||
name: uint8ArrayToString(rawEEPROM.subarray(i + 0x02, i + 0x10), appStore.configuration?.charset),
|
name: uint8ArrayToString(rawEEPROM.subarray(i + 0x02, i + 0x10), appStore.configuration?.charset).trim(),
|
||||||
mdcid: uint8ArrayToHexReverseString(rawEEPROM.subarray(i, i + 0x01)) + uint8ArrayToHexReverseString(rawEEPROM.subarray(i + 0x01, i + 0x02))
|
mdcid: uint8ArrayToHexReverseString(rawEEPROM.subarray(i, i + 0x01)) + uint8ArrayToHexReverseString(rawEEPROM.subarray(i + 0x01, i + 0x02))
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in a new issue