公寓筛选

This commit is contained in:
A1300399510
2023-07-17 18:47:26 +08:00
parent 983571d5c5
commit e2a725c24a
6 changed files with 232 additions and 63 deletions

View File

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