0
点赞
收藏
分享

微信扫一扫

基于SpringBoot的视频网站系统

四月天2021 2023-10-10 阅读 36

问题截图
在这里插入图片描述

import zhCn from "element-plus/es/locale/lang/zh-cn";
或者
import zhCn from "element-plus/lib/locale/lang/zh-cn";

const locale=zhCn
     <el-config-provider :locale="locale">
    <el-date-picker v-model="value1" type="datetimerange" range-separator="至" start-placeholder="开始时间"
       end-placeholder="结束时间" value-format="YYYY-MM-DD HH:mm:ss" @change="settime" />
       </el-config-provider>

在这里插入图片描述
完美解决

举报

相关推荐

0 条评论