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

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

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 () {