next-helios-fe 1.7.9 → 1.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/table/index.tsx +1 -1
package/package.json
CHANGED
@@ -142,7 +142,7 @@ export const Table: TableComponentProps = ({
|
|
142
142
|
}, [header, data]);
|
143
143
|
|
144
144
|
const handleExportData = (dataTitle: string, data: any[]) => {
|
145
|
-
const fileName = `${dataTitle}_${dayjs().format("YYYY-MM-DD_HH
|
145
|
+
const fileName = `${dataTitle}_${dayjs().format("YYYY-MM-DD_HH-mm-ss")}`;
|
146
146
|
const worksheet = xlsx.utils.json_to_sheet(data);
|
147
147
|
const workbook = xlsx.utils.book_new();
|
148
148
|
xlsx.utils.book_append_sheet(workbook, worksheet, "Data");
|