xuxueyang
2024-09-27 a82b34f3dad88a826b459660aecc0af77e353080
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)