mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
code refactor
This commit is contained in:
@@ -60,6 +60,12 @@ export const useTransactionTagsStore = defineStore('transactionTags', {
|
||||
transactionTagListStateInvalid: true,
|
||||
}),
|
||||
actions: {
|
||||
generateNewTransactionTagModel() {
|
||||
return {
|
||||
id: '',
|
||||
name: ''
|
||||
};
|
||||
},
|
||||
updateTransactionTagListInvalidState(invalidState) {
|
||||
this.transactionTagListStateInvalid = invalidState;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user