瀏覽代碼

用户信息

master
wangxyi 2 週之前
父節點
當前提交
325b69a9d9
共有 2 個檔案被更改,包括 1 行新增4 行删除
  1. 0
    1
      package.json
  2. 1
    3
      src/main.ts

+ 0
- 1
package.json 查看文件

"vue": "^3.2.37", "vue": "^3.2.37",
"vue-buffer": "^0.0.1", "vue-buffer": "^0.0.1",
"vue-echarts": "^6.5.4", "vue-echarts": "^6.5.4",
"vue-fragment": "^1.6.0",
"vue-json-excel": "^0.3.0", "vue-json-excel": "^0.3.0",
"vue-router": "4", "vue-router": "4",
"vuex": "^4.0.2", "vuex": "^4.0.2",

+ 1
- 3
src/main.ts 查看文件

import 'element-plus/dist/index.css' import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn' import zhCn from 'element-plus/es/locale/lang/zh-cn'
import * as EleIcons from '@element-plus/icons-vue' import * as EleIcons from '@element-plus/icons-vue'
//fragment
import Fragment from 'vue-fragment'
//全局样式 //全局样式
import './style/main.css' import './style/main.css'
import { isValidKey } from '@/utils/utils' import { isValidKey } from '@/utils/utils'
}, },
}; };


app.use(router).use(pinia).use(Fragment.Plugin).use(ElementPlus, {
app.use(router).use(pinia).use(ElementPlus, {
// 使用element-plus // 使用element-plus
locale: zhCn, locale: zhCn,
}) })

Loading…
取消
儲存