mirror of https://github.com/halo-dev/halo-admin
Perfect post edit datetime picker style.
parent
2965076601
commit
1268cafde7
|
@ -709,3 +709,7 @@ body {
|
|||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-calendar-picker{
|
||||
width: 100%!important;
|
||||
}
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue