fix: Date Column editing issue.

docs: add some examples.
This commit is contained in:
2024-02-05 09:52:26 +08:00
parent 12680cc662
commit 8a9ba4d4fb
7 changed files with 78 additions and 11 deletions

6
lib/ui/date.d.ts vendored
View File

@ -7,6 +7,12 @@
*/
export function createDateInput(min?: string, max?: string, element?: HTMLInputElement): HTMLInputElement;
/**
* 将日期转换成 yyyy-MM-dd 格式的字符串
* @param dt 日期值
*/
export function toDateValue(dt: Date): string;
/**
* 格式化日期字符串
* @param date 要格式化的日期值<br/><br/>