From a1a7c0db61396b4238ff9386ac4e2edf987f5031 Mon Sep 17 00:00:00 2001
From: guqing <1484563614@qq.com>
Date: Wed, 17 Jul 2019 15:05:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E6=96=87=E7=AB=A0=E5=8F=91=E5=B8=83=E6=97=B6=E9=97=B4=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/post/PostEdit.vue | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue
index 74a02934..446ea898 100644
--- a/src/views/post/PostEdit.vue
+++ b/src/views/post/PostEdit.vue
@@ -44,6 +44,20 @@
>
+
+
+
+
+
{
@@ -365,6 +385,13 @@ export default {
this.$message.error('图片上传失败:' + responseObject.message)
}
})
+ },
+ onChange(value, dateString) {
+ this.postToStage.createTime = value.valueOf()
+ },
+ onOk(value) {
+ var dateString = value.format('YYYY-MM-DD HH:mm:ss')
+ this.postToStage.createTime = value.valueOf()
}
}
}