配置代码

This commit is contained in:
2024-12-03 11:47:14 +08:00
parent 5f5af1821f
commit f474e9e1c8
209 changed files with 24169 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ import { createApp } from 'vue'
// import Cookies from 'js-cookie'
import ElementPlus from 'element-plus'
import { dayjs } from 'element-plus'
import 'dayjs/locale/zh-cn'
import '@/assets/styles/index.scss' // global css
@@ -61,6 +62,8 @@ app.config.globalProperties.handleTree = handleTree
app.config.globalProperties.addDateRange = addDateRange
app.config.globalProperties.selectDictLabel = selectDictLabel
app.config.globalProperties.dateOptions = dateOptions
app.config.globalProperties.dayjs = dayjs
app.config.globalProperties.$dayjs = dayjs
// 全局组件挂载
app.component('DictTag', DictTag)