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