From b630fb086270aa65219c0ae5aee05a9d3288fc66 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期六, 03 八月 2024 11:12:28 +0800 Subject: [PATCH] 报告编制的审核,换单点击审核没有重新调接口,依旧展示的同一个单子 --- src/util/date.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/util/date.js b/src/util/date.js index 427486b..03629d0 100644 --- a/src/util/date.js +++ b/src/util/date.js @@ -1,8 +1,7 @@ /** * 鑾峰彇骞存湀鏃� */ -export function getYearAndMonthAndDays() { - const date = new Date() +export function getYearAndMonthAndDays(date=new Date()) { let year = date.getFullYear() let month = date.getMonth() + 1 if (month < 10) { -- Gitblit v1.9.3