fix: date UTC conversion issue

fix: `type.create` index offset issue
This commit is contained in:
2024-03-27 02:30:04 +08:00
parent fd8899c597
commit 87e3d6c81b
3 changed files with 22 additions and 24 deletions

@@ -768,7 +768,10 @@ export class GridDateColumn extends GridColumn {
* @returns {string}
*/
static getValue(e, col) {
return getDateValue(e.target, col.dateValueFormatter);
if (e.target.tagName === 'INPUT') {
return getDateValue(e.target, col.dateValueFormatter);
}
return e.target.innerText;
}
/**