feat:系统更新
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user