xuxueyang
2024-09-19 4f5cbfb0878d0d35ce01b7c32ade1807c067fd27
plugins/util.js
@@ -137,6 +137,12 @@
      }
      return ''
   },
   toMonth(date) {
      if (date) {
         return moment(date).format('MM-DD')
      }
      return ''
   },
   formatDate(date, format) {
      if (date) {
         return moment(date).format(format)