Skip to content
Kpu-admin 官方文档
搜索文档
K
Main Navigation
文档
指南
组件
在线演示
地址
备用地址
技术支持
下载 / 定制
下载
定制开发
💖 友情推荐
VForm 低代码表单
FormCreate 可视化表单设计器
Vexip UI 组件库
MineAdmin 开箱即用后台系统
Go-Ldap-Admin openLDAP后台管理项目
TOPIAM 单点登录与统一身份认证平台
交换友链 ?
Appearance
Menu
Return to top
On this page
作者其他作品
Kpu-mobile
自成一派的 H5 框架
Are you an LLM? You can read better optimized documentation at /components/ka-time-ago.md for this page in Markdown format
KaTimeAgo 可阅读时间
Props
属性名
说明
类型
默认值
date
日期
Date
new Date()
max
显示完整日期的最大单位
UseTimeAgoUnitNamesDefault
-
messages
格式化字符串的信息
UseTimeAgoMessages
-
showSecond
是否显示秒
boolean
false
updateInterval
更新间隔
number
30_000