code refactor

This commit is contained in:
MaysWind
2025-01-28 00:17:42 +08:00
parent 2a84f44f2c
commit 51c4e06e59
+4 -1
View File
@@ -26,6 +26,10 @@ import type {
import type { LocalizedPresetCategory } from '@/core/category.ts';
import type { ForgetPasswordRequest } from '@/models/forget_password.ts';
import {
isObject,
isString
} from '@/lib/common.ts';
import {
hasUserAppLockState,
getUserAppLockState,
@@ -36,7 +40,6 @@ import {
} from '@/lib/userstate.ts';
import services, { type ApiResponsePromise } from '@/lib/services.ts';
import logger from '@/lib/logger.ts';
import { isObject, isString } from '@/lib/common.ts';
export const useRootStore = defineStore('root', () => {
const settingsStore = useSettingsStore();