mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
refactor:在main.ts导入display.css
This commit is contained in:
parent
a83cb8a4e5
commit
bcaa32fde9
@ -64,9 +64,7 @@ import { useConfig } from '/@/stores/config'
|
||||
import { useMemberCenter } from '/@/stores/memberCenter'
|
||||
import { editDefaultLang } from '/@/lang/index'
|
||||
import { index } from '/@/api/frontend/index'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
import Aside from '/@/layouts/frontend/components/aside.vue'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
import DarkSwitch from '/@/layouts/common/components/darkSwitch.vue'
|
||||
import toggleDark from '/@/utils/useDark'
|
||||
import { fullUrl } from '/@/utils/common'
|
||||
|
@ -19,7 +19,6 @@ import Aside from '/@/layouts/frontend/components/aside.vue'
|
||||
import Main from '/@/layouts/frontend/components/main.vue'
|
||||
import Footer from '/@/layouts/frontend/components/footer.vue'
|
||||
import { mainHeight as layoutMainScrollbarStyle } from '/@/utils/layout'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
@ -16,7 +16,6 @@
|
||||
import Header from '/@/layouts/frontend/components/header.vue'
|
||||
import Footer from '/@/layouts/frontend/components/footer.vue'
|
||||
import { mainHeight as layoutMainScrollbarStyle } from '/@/utils/layout'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
@ -8,6 +8,7 @@ import mitt from 'mitt'
|
||||
import pinia from '/@/stores/index'
|
||||
import { directives } from '/@/utils/directives'
|
||||
import 'element-plus/dist/index.css'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
import '/@/styles/index.scss'
|
||||
|
||||
async function start() {
|
||||
|
@ -163,7 +163,6 @@ import { useAdminInfo } from '/@/stores/adminInfo'
|
||||
import { WORKING_TIME } from '/@/stores/constant/cacheKey'
|
||||
import { getGreet } from '/@/utils/common'
|
||||
import { useEventListener } from '@vueuse/core'
|
||||
import 'element-plus/theme-chalk/display.css'
|
||||
var workTimer: NodeJS.Timer
|
||||
|
||||
const d = new Date()
|
||||
|
Loading…
Reference in New Issue
Block a user