const showUserAgremention = () => {
uni.showLoading({
title: "正在打开...",
})
uni.downloadFile({
url: "https://door.melifego.net/userAgreement.docx",
success: (res) => {
const filePath = res.tempFilePath
uni.openDocument({
filePath: filePath
})
},
complete: res => {
uni.hideLoading()
}
})
}