We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffed9d7 commit e5cfa02Copy full SHA for e5cfa02
docs/quark-admin/resources.md
@@ -424,6 +424,34 @@ $startTime、$endTime为开始和结束时间:
424
Field::timeRange($column[, $label])->format('HH:mm')->value([$startTime,$endTime]);
425
```
426
427
+#### 周(week)字段
428
+注意数据库字段需为字符串类型
429
+``` php
430
+
431
+Field::week($column[, $label]);
432
+```
433
434
+#### 月(month)字段
435
436
437
438
+Field::month($column[, $label]);
439
440
441
+#### 季度(quarter)字段
442
443
444
445
+Field::quarter($column[, $label]);
446
447
448
+#### 年(year)字段
449
450
451
452
+Field::year($column[, $label]);
453
454
455
#### 数字输入(number)字段
456
``` php
457
Field::number($column[, $label]);
0 commit comments