公寓筛选
This commit is contained in:
10
src/main.js
10
src/main.js
@@ -28,10 +28,11 @@ import {
|
||||
|
||||
import 'element-plus/theme-chalk/index.css'
|
||||
import 'element-plus/dist/index.css'
|
||||
import 'element-plus/lib/locale/lang/zh-cn'
|
||||
import 'element-plus/theme-chalk/index.css'
|
||||
import locale from 'element-plus/lib/locale/lang/zh-cn';
|
||||
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
// import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
|
||||
import api from "./utils/api";
|
||||
|
||||
//引入封装Axios请求
|
||||
@@ -46,6 +47,7 @@ api.index().then(res => {
|
||||
store.state.user = res.data.user
|
||||
store.state.nav = res.data.nav
|
||||
store.state.wechat = res.data.wechat
|
||||
store.state.apartment = res.data.config.apartment
|
||||
}
|
||||
})
|
||||
|
||||
@@ -64,7 +66,9 @@ app.use(ElCarouselItem)
|
||||
app.use(ElBadge)
|
||||
app.use(ElDropdown)
|
||||
app.use(ElPopover)
|
||||
app.use(ElDatePicker)
|
||||
app.use(ElDatePicker, {
|
||||
locale: zhCn
|
||||
})
|
||||
app.use(ElMessage)
|
||||
app.use(ElSkeleton)
|
||||
app.use(ElSkeletonItem)
|
||||
|
||||
Reference in New Issue
Block a user