From 4d7943fb4f5cbbf97f5eff10b49933affe57852f Mon Sep 17 00:00:00 2001
From: Lion <120344285@qq.com>
Date: Thu, 12 May 2022 13:17:36 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86-=E7=BB=93?=
=?UTF-8?q?=E6=9D=9F=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/active/activity.vue | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/views/active/activity.vue b/src/views/active/activity.vue
index 830774c..af4df59 100644
--- a/src/views/active/activity.vue
+++ b/src/views/active/activity.vue
@@ -132,13 +132,16 @@
-
-
+
+
@@ -452,6 +455,7 @@
get(obj.id).then(res => {
let result = Object.assign(that.form, res);
that.form = result;
+ that.form.end_time = result.end_time.substring(11,result.end_time.length);
let _files = [];
for (var mod of result.banners) {
let m = Object.assign({}, mod);
@@ -481,8 +485,7 @@
},
submitForm(formName) {
var that = this;
- // console.log(that.form);
- // return;
+ that.form.end_time = that.form.start_time.substring(0,10)+" "+that.form.end_time+":00";
this.$refs[formName].validate((valid) => {
if (valid) {
if (that.form.id) {