Add files via upload
This commit is contained in:
@@ -114,7 +114,7 @@ export function exportToCSV() {
|
|||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.download = `地址列表_${new Date().toISOString().split('T')[0]}.csv`;
|
link.download = `CSV-${new Date().toISOString().split('T')[0]}.csv`;
|
||||||
link.click();
|
link.click();
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ export function exportToJSON() {
|
|||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.download = `地址列表_${new Date().toISOString().split('T')[0]}.json`;
|
link.download = `JSON-${new Date().toISOString().split('T')[0]}.json`;
|
||||||
link.click();
|
link.click();
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user