解决数据下拉加载的bug,调整专区样式,完善充值记录

This commit is contained in:
2024-09-12 14:04:53 +08:00
parent b4438b4638
commit 3f6a12ee67
15 changed files with 67 additions and 16 deletions

View File

@@ -69,10 +69,14 @@ Page({
success: (res) => {
if (res.statusCode === 200) {
if (!res.tempFilePath) {
alertError("获取文件失败")
alertInfo("获取文件失败")
rej()
return;
}
if (res.tempFilePath.endsWith(".json")) {
alertInfo("下载文件失败")
return;
}
wx.openDocument({
filePath: res.tempFilePath,
fileType: [ "pdf"], // 3. 这个必须写合法类型,不然下载不了