Skip to content

Commit e5cfa02

Browse files
committed
wip
1 parent ffed9d7 commit e5cfa02

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/quark-admin/resources.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,34 @@ $startTime、$endTime为开始和结束时间:
424424
Field::timeRange($column[, $label])->format('HH:mm')->value([$startTime,$endTime]);
425425
```
426426

427+
#### 周(week)字段
428+
注意数据库字段需为字符串类型
429+
``` php
430+
431+
Field::week($column[, $label]);
432+
```
433+
434+
#### 月(month)字段
435+
注意数据库字段需为字符串类型
436+
``` php
437+
438+
Field::month($column[, $label]);
439+
```
440+
441+
#### 季度(quarter)字段
442+
注意数据库字段需为字符串类型
443+
``` php
444+
445+
Field::quarter($column[, $label]);
446+
```
447+
448+
#### 年(year)字段
449+
注意数据库字段需为字符串类型
450+
``` php
451+
452+
Field::year($column[, $label]);
453+
```
454+
427455
#### 数字输入(number)字段
428456
``` php
429457
Field::number($column[, $label]);

0 commit comments

Comments
 (0)