optimize user data export process

This commit is contained in:
MaysWind
2023-04-02 23:18:05 +08:00
parent 44ca940ca3
commit 33250d2f3d
9 changed files with 103 additions and 42 deletions
+3
View File
@@ -170,6 +170,9 @@ export default {
getUserDataStatistics: () => {
return axios.get('v1/data/statistics.json');
},
getExportedUserData: () => {
return axios.get('v1/data/export.csv');
},
clearData: ({ password }) => {
return axios.post('v1/data/clear.json', {
password