[update 拆分编辑] 导出防止文件名过长打不开
This commit is contained in:
@@ -614,7 +614,8 @@ export default {
|
||||
* 导出
|
||||
*/
|
||||
handleExportXls () {
|
||||
const fileName = this.$route.query.infoNumber + ' ' + this.$route.query.standardName
|
||||
// 防止文件名长度导致文件打不开
|
||||
const fileName = (this.$route.query.infoNumber + ' ' + this.$route.query.standardName).slice(0, 50)
|
||||
const fileSuffix = '.zip'
|
||||
const param = {}
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user