diff --git a/src/components/tableColumns/datetime/index.tsx b/src/components/tableColumns/datetime/index.tsx index 8c34006d3618924384d137b1d1bc0e61257b0a1a..672ec3e86dc7674c7acfe3d25f4513042388eb59 100644 --- a/src/components/tableColumns/datetime/index.tsx +++ b/src/components/tableColumns/datetime/index.tsx @@ -27,7 +27,8 @@ export default class DatetimeColumn extends Column 0 && list.forEach((val: string, index: number) => { - rsValue += index < list.length - 1 ? `${moment(val).format(format)}${split}` : moment(val).format(format) + let _val = /^\d+$/.test(val) ? parseInt(val) : val + rsValue += index < list.length - 1 ? `${moment(_val).format(format)}${split}` : moment(_val).format(format) }) return rsValue