Vue解决后台传过来的时间展示时带T
用空格替换:
{{scope.row.ctime.toLocaleString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')}}参考作者:https://blog.csdn.net/qq_36090127/article/details/103308296
用空格替换:
{{scope.row.ctime.toLocaleString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')}}参考作者:https://blog.csdn.net/qq_36090127/article/details/103308296