      status.classList.remove("hidden");
                statusTimer = setInterval(checkStatus,1000)

                console.log('上传成功');
            } else {
                console.log('上传失败');
            }
        };
        xhr.send(formData);
    }
    function other() {
       if(confirm("请确保已经下载了文件，否则文件将会丢失！")){
           window.location.href = "/";
       }
    }
</script>
</body>