Skip to content

Commit

Permalink
fix: 决策表导出文件名符合蓝鲸规范 --story=130968939
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 23452
  • Loading branch information
ywywZhou authored and luofann committed Nov 11, 2024
1 parent 1575dd2 commit 8dedb31
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
import { getCellText } from './dataTransfer.js';
export default {
props: {
name: {
type: String,
default: '',
},
data: {
type: Object,
default: () => ({}),
Expand Down Expand Up @@ -173,7 +169,7 @@
XLSX.utils.book_append_sheet(wb, ws, 'Sheet1');
// 导出工作簿
XLSX.writeFile(wb, `${this.name || 'Decision'}_${moment().format('YYYYMMDDHHmmss')}.xlsx`);
XLSX.writeFile(wb, `${window.APP_CODE}_decision_${moment().format('YYYYMMDDHHmmss')}.xlsx`);
},
},
};
Expand Down

0 comments on commit 8dedb31

Please sign in to comment.