xuxueyang
2024-09-23 d7ad4f31d11d07a74814b0e177891c6b71442f20
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)