From f63307c52e66f3463cf3c2517c80d5c5b0f60140 Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期六, 05 十月 2024 18:05:38 +0800 Subject: [PATCH] update 更新支付 --- plugins/util.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/plugins/util.js b/plugins/util.js index d569ad2..2067642 100644 --- a/plugins/util.js +++ b/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) -- Gitblit v1.9.3