yxh
2023-11-22 96e692bbc9665d4740be16f75f092ff3005b9aa8
1
2
3
4
5
import dayjs from 'dayjs';
// 过滤器
export const formatTime=(val)=>{
    return dayjs(val).format('YYYY-MM-DD')
  }