Perfect post edit datetime picker style.

pull/35/head
ruibaby 2019-07-17 23:03:02 +08:00
parent 2965076601
commit 1268cafde7
2 changed files with 15 additions and 13 deletions

View File

@ -708,4 +708,8 @@ body {
.post-thum-remove {
margin-top: 16px;
}
}
.ant-calendar-picker{
width: 100%!important;
}

View File

@ -48,18 +48,7 @@
>
<a-input v-model="sheetToStage.url" />
</a-form-item>
<a-form-item label="开启评论:">
<a-radio-group
v-model="sheetToStage.disallowComment"
:defaultValue="false"
>
<a-radio :value="false">开启</a-radio>
<a-radio :value="true">关闭</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item
label="发表时间:"
>
<a-form-item label="发表时间:">
<a-date-picker
showTime
:defaultValue="pickerDefaultValue"
@ -69,6 +58,15 @@
@ok="onOk"
/>
</a-form-item>
<a-form-item label="开启评论:">
<a-radio-group
v-model="sheetToStage.disallowComment"
:defaultValue="false"
>
<a-radio :value="false">开启</a-radio>
<a-radio :value="true">关闭</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item label="自定义模板:">
<a-select v-model="sheetToStage.template">
<a-select-option
@ -285,7 +283,7 @@ export default {
pictureUploadHandle(pos, $file) {
var formdata = new FormData()
formdata.append('file', $file)
attachmentApi.upload(formdata).then((response) => {
attachmentApi.upload(formdata).then(response => {
var responseObject = response.data
if (responseObject.status === 200) {