use pinia to replace vuex, code refactor

This commit is contained in:
MaysWind
2023-06-10 23:13:31 +08:00
parent 0d84f2857f
commit 46d85e92cd
80 changed files with 4972 additions and 4859 deletions
+10
View File
@@ -39,8 +39,18 @@ const allAccountTypes = {
SingleAccount: 1,
MultiSubAccounts: 2
};
const allAccountTypesArray = [
{
id: allAccountTypes.SingleAccount,
name: 'Single Account'
}, {
id: allAccountTypes.MultiSubAccounts,
name: 'Multi Sub Accounts'
}
];
export default {
allCategories: allAccountCategories,
allAccountTypes: allAccountTypes,
allAccountTypesArray: allAccountTypesArray,
};