From 6fda08bea77fc9d9f0f77b520b940fb353555dcd Mon Sep 17 00:00:00 2001 From: szz <961120009@qq.com> Date: Thu, 31 Jul 2025 18:02:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/MyMatching.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/MyMatching.vue b/src/views/MyMatching.vue index 547c48c..4b00ce1 100644 --- a/src/views/MyMatching.vue +++ b/src/views/MyMatching.vue @@ -290,6 +290,16 @@ export default { window.addEventListener('autoStartMatching', handleAutoStartMatching) }, methods: { + formatDeadline(deadlineString) { + // 根据需要的格式进行处理,示例: + return new Date(deadlineString).toLocaleString('zh-CN', { + year: 'numeric', + month: '2-digit', + day: '2-digit', + hour: '2-digit', + minute: '2-digit' + }); + }, handleAutoStartFromHome() { // 获取路由查询参数 const { autoStart, type, amount } = this.$route.query