摘要: 阅读全文
posted @ 2021-04-16 10:57 遇你温柔如初 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: 1.首先点击复选框的时候要将所有的值存起来 // 复选框 handleSelectionChange(data) { this.selectDataForPage[this.tableData.page] = data; this.$emit("selection-change", data, th 阅读全文
posted @ 2021-04-16 10:43 遇你温柔如初 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: // 下载导出内容,带类型的 export function downloadFile(data, config = {}) { const aLink = document.createElement("a"); let blob = new Blob([data], { // type: 'ap 阅读全文
posted @ 2021-04-16 10:34 遇你温柔如初 阅读(94) 评论(0) 推荐(0) 编辑
摘要: //下载文件,文件 export function download(data,name) { if (!data) { return; } getUrlBase64(data).then((base64) => { let a = document.createElement("a"); a.st 阅读全文
posted @ 2021-04-16 10:33 遇你温柔如初 阅读(4135) 评论(0) 推荐(0) 编辑
摘要: 注意:一定要深度监听。 阅读全文
posted @ 2021-04-16 10:31 遇你温柔如初 阅读(2581) 评论(0) 推荐(0) 编辑