feat: 新增菜单图标, 搜索组件
This commit is contained in:
5
src/utils/tool.ts
Normal file
5
src/utils/tool.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import moment from 'moment'
|
||||
|
||||
export function formatDate(date: Date, format='YYYY-MM-DD HH:mm:ss'): string {
|
||||
return moment(date).format(format)
|
||||
}
|
||||
Reference in New Issue
Block a user