Commit a543c7ec by 曾经

日期格式化

parent ecc2a2e4
......@@ -46,6 +46,8 @@
<script>
import fetch from '@/api/operation.js';
import util from '@/filters/index.js';
const { formatDate2 } = util;
const { getPageHolidays, delHoliday, getHolidayCategoryList } = fetch;
import holidayCategoryDialog from './component/holiday-category-dialog.vue';
......@@ -127,7 +129,7 @@ export default {
}
},
filters: {
formatDate: ({ createTime = '' }) => this.$options.filters.formatDate(createTime),
formatDate: formatDate2,
filterFee(value) {
if (value === null || value === undefined) {
return '--';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment