mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
migrate to typescript
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
import currencyConstants from '@/consts/currency.js';
|
||||
import { DEFAULT_CURRENCY_CODE } from '@/consts/currency.ts';
|
||||
import datetimeConstants from '@/consts/datetime.js';
|
||||
import * as settings from '@/lib/settings.js';
|
||||
|
||||
@@ -36,7 +36,7 @@ export const useSettingsStore = defineStore('settings', {
|
||||
animate: settings.isEnableAnimate()
|
||||
},
|
||||
localeDefaultSettings: {
|
||||
currency: currencyConstants.defaultCurrency,
|
||||
currency: DEFAULT_CURRENCY_CODE,
|
||||
firstDayOfWeek: datetimeConstants.defaultFirstDayOfWeek
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user