Test frontend #only_compile
This commit is contained in:
parent
367e4ba0ea
commit
754d779069
|
@ -70,9 +70,9 @@ async function uploadFileChangeHandler(event: Event) {
|
||||||
const start = i * chunkSize
|
const start = i * chunkSize
|
||||||
const end = Math.min(file.size, start + chunkSize)
|
const end = Math.min(file.size, start + chunkSize)
|
||||||
const res = await sendChunk(file, start, end)
|
const res = await sendChunk(file, start, end)
|
||||||
console.log( 'progress: '+ (100*i + 1) / numChunks )
|
console.log( 'progress: '+ ( ( 100 * (i + 1) ) / numChunks) )
|
||||||
console.log( 'Num Chunks: '+ numChunks )
|
console.log( 'Num Chunks: '+ numChunks )
|
||||||
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks)
|
documentStore.updateUploadingDocuments( document.key, ((100 * (i + 1) ) / numChunks))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,8 +5,8 @@
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Vite Vasanko</title>
|
<title>Vite Vasanko</title>
|
||||||
<script type="module" crossorigin src="/assets/index-396ce413.js"></script>
|
<script type="module" crossorigin src="/assets/index-5620eb6e.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-adcd8284.css">
|
<link rel="stylesheet" href="/assets/index-fe1bb208.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user