如果在element-plus的el-date-picker组件中清空后面板出现乱码,可以尝试以下解决方法:\n\n1. 确保你的项目中已经引入了element-plus的样式文件,例如在main.js或者App.vue中引入了element-plus的样式:\n\njavascript\nimport 'element-plus/lib/theme-chalk/index.css';\n\n\n2. 确保你的项目中已经引入了element-plus的语言包,例如在main.js或者App.vue中引入了element-plus的语言包:\n\njavascript\nimport { createApp } from 'vue';\nimport ElementPlus from 'element-plus';\nimport locale from 'element-plus/lib/locale/lang/zh-cn';\nimport App from './App.vue';\n\nconst app = createApp(App);\napp.use(ElementPlus, { locale });\napp.mount('#app');\n\n\n3. 尝试更新element-plus的版本,可能是因为版本兼容性问题导致的乱码问题。\n\n如果以上方法都无效,可以尝试在element-plus的GitHub仓库上提交一个issue,向开发者寻求帮助。

Element Plus el-date-picker 清空面板乱码解决方法