This commit is contained in:
Silent YANG 2024-06-09 09:24:57 +08:00
parent 7f7e9bc44c
commit 2a41f59656
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
router.push({
path: '/tool/flash',
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()
}
});
}

View file

@ -52,7 +52,7 @@ onMounted(async ()=>{
}
const binary = new Uint8Array(chunks)
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] + ' '
}
}
})