mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
support setting expense / income amount color
This commit is contained in:
@@ -69,6 +69,14 @@ export const useUserStore = defineStore('user', {
|
||||
currentUserCurrencyDisplayType(state) {
|
||||
const userInfo = state.currentUserInfo || {};
|
||||
return userInfo.currencyDisplayType;
|
||||
},
|
||||
currentUserExpenseAmountColor(state) {
|
||||
const userInfo = state.currentUserInfo || {};
|
||||
return userInfo.expenseAmountColor;
|
||||
},
|
||||
currentUserIncomeAmountColor(state) {
|
||||
const userInfo = state.currentUserInfo || {};
|
||||
return userInfo.incomeAmountColor;
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user