xuxueyang
2024-10-18 0512f40da106268ac342377256cf9099d7f90b3e
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)