fix:date picker is activated in readonly mode

pr675
Hufe921 4 years ago
parent e90ccd41ef
commit 853c783a96

@ -289,7 +289,7 @@ export class CanvasEvent {
} }
// 日期控件 // 日期控件
this.dateParticle.clearDatePicker() this.dateParticle.clearDatePicker()
if (curElement.type === ElementType.DATE) { if (curElement.type === ElementType.DATE && !isReadonly) {
this.dateParticle.renderDatePicker(curElement, positionList[curIndex]) this.dateParticle.renderDatePicker(curElement, positionList[curIndex])
} }
} }

Loading…
Cancel
Save