提交 1f217a7f 编写于 作者: guangjun.yang's avatar guangjun.yang

修改时间问题

上级 c6fd540a
...@@ -234,7 +234,7 @@ export function convertTime(time, isToSlash = true) { ...@@ -234,7 +234,7 @@ export function convertTime(time, isToSlash = true) {
if(!time) { if(!time) {
return '' return ''
} else { } else {
time = time + ''; // time = time + '';
if(isToSlash) { if(isToSlash) {
return time.replace(/-/g, '/') return time.replace(/-/g, '/')
} else { } else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册