mirror of
https://gitee.com/layui/layui.git
synced 2025-10-07 23:24:32 +08:00
docs: 优化文档中的用词细节 (#2571)
This commit is contained in:
@@ -34,7 +34,7 @@ toc: true
|
||||
|
||||
`util.countdown(options);`
|
||||
|
||||
- 参数 `options` <sup>2.8.9+</sup>: 属性配置项。可选项详见下表:
|
||||
- 参数 `options` <sup>2.8.9+</sup>: 属性选项。可选项详见下表:
|
||||
|
||||
| 属性 | 描述 |
|
||||
| --- | --- |
|
||||
@@ -101,7 +101,7 @@ var result = util.timeAgo(1672531200000); // 2023-01-01 00:00:00
|
||||
|
||||
- 参数 `time` : 毫秒数或日期对象
|
||||
- 参数 `format` : 日期字符格式。默认格式:`yyyy-MM-dd HH:mm:ss` 。可自定义,如: `yyyy年MM月dd日`
|
||||
- 参数 `options` <sup>2.8.13+</sup> : 该方法的属性可选项,详见下表:
|
||||
- 参数 `options` <sup>2.8.13+</sup> : 该方法的属性选项,详见下表:
|
||||
|
||||
| 属性名 | 描述 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
@@ -179,7 +179,7 @@ var str2 = util.unescape('<div>123</div>'); // 返回: <div>123</d
|
||||
|
||||
`util.openWin(options);`
|
||||
|
||||
- 参数 `options` : 属性配置项。可选项详见下表
|
||||
- 参数 `options` : 属性选项。可选项详见下表
|
||||
|
||||
| 属性 | 描述 |
|
||||
| --- | --- |
|
||||
|
Reference in New Issue
Block a user