输入框类型切换后值无法更新问题

This commit is contained in:
xuliangzhan
2021-12-06 21:05:21 +08:00
parent f07d17b5cf
commit 4da14569f1
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
.DS_Store
.history
node_modules
/dist
/es

View File

@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "3.4.11",
"version": "3.4.12-beta.0",
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
"scripts": {
"serve": "vue-cli-service serve",

View File

@@ -1045,8 +1045,10 @@ export default {
this.initValue()
},
dateLabelFormat () {
this.dateParseValue(this.datePanelValue)
this.inputValue = this.datePanelLabel
if (this.isDatePickerType) {
this.dateParseValue(this.datePanelValue)
this.inputValue = this.datePanelLabel
}
}
},
created () {