搜索结果列表页面开发
This commit is contained in:
15
src/components/Time/README.md
Normal file
15
src/components/Time/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Time
|
||||
|
||||
### 说明
|
||||
- 将时间自动转换为距离当前的时间,已全局声明
|
||||
|
||||
``` js
|
||||
<Time :time="2023-07-20 11:21:00" />
|
||||
```
|
||||
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|----------------|-------------------------|-------------------------------|-----------|---------|
|
||||
| time | 时间 | string \| number \| date | - | - |
|
||||
| interval? | 时间刷新间隔,单位s | number | - | 60 |
|
||||
Reference in New Issue
Block a user