mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:17:52 +08:00
抽离 Copyright 组件为内建组件
This commit is contained in:
@@ -6,7 +6,6 @@ import useSettingsStore from '@/store/modules/settings'
|
||||
import eventBus from '@/utils/eventBus'
|
||||
import hotkeys from 'hotkeys-js'
|
||||
import AppSetting from './components/AppSetting/index.vue'
|
||||
import Copyright from './components/Copyright/index.vue'
|
||||
import Header from './components/Header/index.vue'
|
||||
import HotkeysIntro from './components/HotkeysIntro/index.vue'
|
||||
import MainSidebar from './components/MainSidebar/index.vue'
|
||||
@@ -141,7 +140,7 @@ const enableAppSetting = import.meta.env.VITE_APP_SETTING
|
||||
</RouterView>
|
||||
<LinkView v-if="isLink" />
|
||||
</div>
|
||||
<Copyright />
|
||||
<FaCopyright />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Vendored
+1
@@ -14,6 +14,7 @@ declare module 'vue' {
|
||||
FaCard: typeof import('./../ui/components/FaCard/index.vue')['default']
|
||||
FaCheckbox: typeof import('./../ui/components/FaCheckbox/index.vue')['default']
|
||||
FaContextMenu: typeof import('./../ui/components/FaContextMenu/index.vue')['default']
|
||||
FaCopyright: typeof import('./../ui/components/FaCopyright/index.vue')['default']
|
||||
FaDivider: typeof import('./../ui/components/FaDivider/index.vue')['default']
|
||||
FaDrawer: typeof import('./../ui/components/FaDrawer/index.vue')['default']
|
||||
FaDropdown: typeof import('./../ui/components/FaDropdown/index.vue')['default']
|
||||
|
||||
Executable → Regular
+1
-1
@@ -2,7 +2,7 @@
|
||||
import useSettingsStore from '@/store/modules/settings'
|
||||
|
||||
defineOptions({
|
||||
name: 'Copyright',
|
||||
name: 'FaCopyright',
|
||||
})
|
||||
|
||||
const settingsStore = useSettingsStore()
|
||||
+1
-2
@@ -9,7 +9,6 @@ meta:
|
||||
import LoginForm from '@/components/AccountForm/LoginForm.vue'
|
||||
import RegisterForm from '@/components/AccountForm/RegisterForm.vue'
|
||||
import ResetPasswordForm from '@/components/AccountForm/ResetPasswordForm.vue'
|
||||
import Copyright from '@/layouts/components/Copyright/index.vue'
|
||||
import ColorScheme from '@/layouts/components/Topbar/Toolbar/ColorScheme/index.vue'
|
||||
import useSettingsStore from '@/store/modules/settings'
|
||||
|
||||
@@ -61,7 +60,7 @@ const formType = ref<'login' | 'register' | 'resetPassword'>('login')
|
||||
</Transition>
|
||||
</div>
|
||||
</div>
|
||||
<Copyright />
|
||||
<FaCopyright />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user