vue項目中需要導出下載客戶數據,因為數據太多,響應太慢。后台直接上傳給七牛 然后返回一個下載鏈接 前端通過跳轉鏈接 來下載
riskManagementApi.friendExprotAll(this.ids).then((res) => { console.log(res) window.location.href= res this.$message.success('恭喜你,導出成功') })
vue項目中需要導出下載客戶數據,因為數據太多,響應太慢。后台直接上傳給七牛 然后返回一個下載鏈接 前端通過跳轉鏈接 來下載
riskManagementApi.friendExprotAll(this.ids).then((res) => { console.log(res) window.location.href= res this.$message.success('恭喜你,導出成功') })
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。