📅  最后修改于: 2022-03-11 14:48:24.583000             🧑  作者: Mango
this.form.MyParam.element.bind('click', (bind) => {
if (Q.isEmptyOrNull(this.form.MyParam.value)) {
Serenity.EditorUtils.setValue(this.form.MyParam, new Date().setHours(0, 0, 0, 0))
}
});