mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-09 13:24:38 +00:00
update
This commit is contained in:
parent
7f7e9bc44c
commit
2a41f59656
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@
|
||||||
router.push({
|
router.push({
|
||||||
path: '/tool/flash',
|
path: '/tool/flash',
|
||||||
query: {
|
query: {
|
||||||
url: 'https://k5.vicicode.com/diyapi/LOSEHU' + state.flag.join('') + '.bin'
|
url: 'https://k5.vicicode.com/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ onMounted(async ()=>{
|
||||||
}
|
}
|
||||||
const binary = new Uint8Array(chunks)
|
const binary = new Uint8Array(chunks)
|
||||||
state.binaryFile = binary
|
state.binaryFile = binary
|
||||||
state.binaryName = route.query.url.substring(route.query.url.lastIndexOf('/') + 1)
|
state.binaryName = route.query.url.substring(route.query.url.lastIndexOf('/') + 1).split('?')[0] + ' '
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue