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()
}
}
}