修复时间计算
This commit is contained in:
parent
0a4beef316
commit
5cda7db400
@ -82,6 +82,7 @@
|
|||||||
if (file) {
|
if (file) {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
reader.onload = function(e) {
|
reader.onload = function(e) {
|
||||||
|
startTime=Date.now();
|
||||||
const buffer = base64ToArrayBuffer(e.target.result.split(",")[1]);
|
const buffer = base64ToArrayBuffer(e.target.result.split(",")[1]);
|
||||||
const targetWidth = document.getElementById("width").value;
|
const targetWidth = document.getElementById("width").value;
|
||||||
const targetHeight = document.getElementById("height").value;
|
const targetHeight = document.getElementById("height").value;
|
||||||
|
Loading…
Reference in New Issue
Block a user