mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
use pinia to replace vuex, code refactor
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user