解决数据下拉加载的bug,调整专区样式,完善充值记录
This commit is contained in:
@@ -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. 这个必须写合法类型,不然下载不了 !!!
|
||||
|
Reference in New Issue
Block a user