⬆️ Upgrade dependencies
This commit is contained in:
parent
ed70f3c2ff
commit
b15e8a5997
9 changed files with 2314 additions and 3264 deletions
1627
frontend/package-lock.json
generated
1627
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,14 +9,14 @@
|
|||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.3.4",
|
||||
"bootstrap": "^5.3.0-alpha1",
|
||||
"bootstrap-icons": "^1.10.3",
|
||||
"vue": "^3.2.45",
|
||||
"axios": "^1.9.0",
|
||||
"bootstrap": "^5.3.5",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"vue": "^3.5.13",
|
||||
"vue-axios": "^3.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"vite": "^4.1.0"
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"vite": "^6.3.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,12 +60,14 @@ function start_download() {
|
|||
axios.get("/download");
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
setInterval(() => {
|
||||
axios.get("/progress").then((resp) => {
|
||||
state_list.value = resp.data;
|
||||
});
|
||||
}, 200);
|
||||
async function get_progress() {
|
||||
const { data } = await axios.get("/progress");
|
||||
state_list.value = data;
|
||||
setTimeout(get_progress, 200);
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
await get_progress();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue