riku
2024-11-21 c4bcc6e78ecaec6e9ea68802be7c1d3a7b063512
src/utils/time-util.js
@@ -13,6 +13,14 @@
    }
  },
  formatYM(date){
    if (date) {
      return this.format(date, 'YYYY-MM')
    } else {
      return '----/--'
    }
  },
  formatYMD(date){
    if (date) {
      return this.format(date, 'YYYY-MM-DD')