support clear all user data

This commit is contained in:
MaysWind
2021-01-18 01:12:21 +08:00
parent d0853a9b6f
commit 51b0ae8076
7 changed files with 178 additions and 0 deletions
+5
View File
@@ -159,6 +159,11 @@ export default {
password
});
},
clearData: ({ password }) => {
return axios.post('v1/data/clear.json', {
password
});
},
getTransactionOverview: ( { today, thisWeek, thisMonth, thisYear } ) => {
const queryParams = [];