前提在文件开头需要导入moment
import moment from 'moment';
日期格式化 moment( 日期参数 ).format(‘yyyy-mm-dd’)
moment(record.upd_time.pulmonaryFunctionTestTime).format('YYYY-MM-DD'
在table绑定columns属性
前提在文件开头需要导入moment
import moment from 'moment';
日期格式化 moment( 日期参数 ).format(‘yyyy-mm-dd’)
moment(record.upd_time.pulmonaryFunctionTestTime).format('YYYY-MM-DD'
在table绑定columns属性