refactor: 还原日期时间选择器在设计态禁用的代码

main
wu.jian2 1 year ago
parent 8fd0432c62
commit a82d9b2700

@ -79,7 +79,7 @@ export default {
created () { }, created () { },
mounted () { mounted () {
if (!this.isPreview) { if (!this.isPreview) {
// document.querySelector(`.date-picker-${this.config.code}`).style.pointerEvents = 'none' document.querySelector(`.date-picker-${this.config.code}`).style.pointerEvents = 'none'
} }
this.changeStyle(this.config) this.changeStyle(this.config)
if (this.value === '') { if (this.value === '') {

Loading…
Cancel
Save