mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
code refactor
This commit is contained in:
+4
-1
@@ -26,6 +26,10 @@ import type {
|
|||||||
import type { LocalizedPresetCategory } from '@/core/category.ts';
|
import type { LocalizedPresetCategory } from '@/core/category.ts';
|
||||||
import type { ForgetPasswordRequest } from '@/models/forget_password.ts';
|
import type { ForgetPasswordRequest } from '@/models/forget_password.ts';
|
||||||
|
|
||||||
|
import {
|
||||||
|
isObject,
|
||||||
|
isString
|
||||||
|
} from '@/lib/common.ts';
|
||||||
import {
|
import {
|
||||||
hasUserAppLockState,
|
hasUserAppLockState,
|
||||||
getUserAppLockState,
|
getUserAppLockState,
|
||||||
@@ -36,7 +40,6 @@ import {
|
|||||||
} from '@/lib/userstate.ts';
|
} from '@/lib/userstate.ts';
|
||||||
import services, { type ApiResponsePromise } from '@/lib/services.ts';
|
import services, { type ApiResponsePromise } from '@/lib/services.ts';
|
||||||
import logger from '@/lib/logger.ts';
|
import logger from '@/lib/logger.ts';
|
||||||
import { isObject, isString } from '@/lib/common.ts';
|
|
||||||
|
|
||||||
export const useRootStore = defineStore('root', () => {
|
export const useRootStore = defineStore('root', () => {
|
||||||
const settingsStore = useSettingsStore();
|
const settingsStore = useSettingsStore();
|
||||||
|
|||||||
Reference in New Issue
Block a user