<view bindtap="exportData">导出</view>
// 导出
exportData() {
const auth = wx.getStorageSync("auth");
wx.showLoading({
title: "加载中",
});
wx.downloadFile({
//下载
url: configAPI.exportPlanList + '?searchParam=' + this.data.inputVal,
header: {
"content-type": "application/vnd.ms-excel",
auth: auth,
},
success(res) {