保誠-保戶業務員媒合平台
HelenHuang
2021-12-06 18978f386850eeeb2cc2702f67e3cc5a211740d9
fixed: uiDateFormat undefind error
修改1個檔案
6 ■■■■ 已變更過的檔案
PAMapp/components/Ui/UiDateFormat.vue 6 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Ui/UiDateFormat.vue
@@ -39,9 +39,9 @@
            return `${this.compareTarget.getHours()}:${minutes}`;
        }
        return isThisYear(this.date)
            ? `${thisYearDayLabel} ${this.date.getHours()}:${minutes}`
            : `${this.date.getFullYear()}/${this.date.getMonth() + 1}/${this.date.getDate()} ${this.date.getHours()}:${minutes}`;
        return isThisYear(this.compareTarget)
            ? `${thisYearDayLabel} ${this.compareTarget.getHours()}:${minutes}`
            : `${this.compareTarget.getFullYear()}/${this.compareTarget.getMonth() + 1}/${this.compareTarget.getDate()} ${this.compareTarget.getHours()}:${minutes}`;
    }    
}
</script>