RuoYi
2020-02-18 b7107a4dba6ba04149a4107a99760fdda5f1cd56
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}'