Skip to content
Fantastic-admin 官方文档 (v5)
搜索文档
K
Main Navigation
文档
指南
组件
Appearance
Menu
Return to top
On this page
作者其他作品
Fantastic-startkit
简单好用的 Vue3 项目启动套件
One-step-admin
巧妙的管理系统框架
Fantastic-mobile
自成一派的 H5 框架
Are you an LLM? You can read better optimized documentation at /v5-docs/components/fa-time-ago.md for this page in Markdown format
FaTimeAgo 可阅读时间
专业版
Props
属性名
说明
类型
默认值
date
日期
Date
new Date()
max
显示完整日期的最大单位
UseTimeAgoUnitNamesDefault
-
messages
格式化字符串的信息
UseTimeAgoMessages
-
showSecond
是否显示秒
boolean
false
updateInterval
更新间隔
number
30_000