迁移Settings.vue到settings目录

This commit is contained in:
jingrow 2025-11-02 21:18:08 +08:00
parent a7fb6e9fe7
commit 9e9ac15358
2 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ const router = createRouter({
{ {
path: 'settings', path: 'settings',
name: 'Settings', name: 'Settings',
component: () => import('../../views/Settings.vue') component: () => import('../../views/settings/Settings.vue')
}, },
{ {
path: 'search', path: 'search',

View File

@ -207,9 +207,9 @@ import {
useDialog useDialog
} from 'naive-ui' } from 'naive-ui'
import { Icon } from '@iconify/vue' import { Icon } from '@iconify/vue'
import { getCurrentLocale, setLocale, locales, initLocale, t } from '../shared/i18n' import { getCurrentLocale, setLocale, locales, initLocale, t } from '../../shared/i18n'
import { useAuthStore } from '../shared/stores/auth' import { useAuthStore } from '../../shared/stores/auth'
import { getEnvironmentConfig, updateEnvironmentConfig, restartEnvironment, type EnvironmentConfig } from '../shared/api/system' import { getEnvironmentConfig, updateEnvironmentConfig, restartEnvironment, type EnvironmentConfig } from '../../shared/api/system'
const message = useMessage() const message = useMessage()
const dialog = useDialog() const dialog = useDialog()