feat:系统更新

This commit is contained in:
houjunxiang
2025-12-24 15:46:30 +08:00
parent 164e305442
commit 7caeffbf1d
8 changed files with 63 additions and 33 deletions

View File

@@ -205,9 +205,11 @@ async function closeUpdate() {
function downloadPackage() {
downloading.value = true
downloadTask = uni.downloadFile({
url: url.value,
header:{
"Accept-Encoding": "identity"
},
success: res => {
if (res.statusCode === 200) {
downloadSuccess.value = true