refactor:在main.ts导入display.css

This commit is contained in:
妙码生花 2022-11-06 02:02:34 +08:00
parent a83cb8a4e5
commit bcaa32fde9
5 changed files with 1 additions and 5 deletions

View File

@ -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'

View File

@ -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">

View File

@ -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">

View File

@ -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() {

View File

@ -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()