RuoYi
2020-02-17 c0cd2f61da6400b19793c6cd336b8dd36614cf13
ruoyi-ui/src/utils/ruoyi.js
@@ -7,7 +7,7 @@
// 日期格式化
export function parseTime(time, pattern) {
   if (arguments.length === 0) {
   if (arguments.length === 0 || !time) {
      return null
   }
   const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'