Enable input extenal thumbnail link of post

pull/59/head
johnniang 2020-01-04 15:30:15 +08:00
parent 19c4191a1a
commit 7264de633a
1 changed files with 7 additions and 0 deletions

View File

@ -172,6 +172,13 @@
:src="selectedPost.thumbnail || '/images/placeholder.jpg'"
@click="()=>this.thumbDrawerVisible=true"
>
<a-form layout="vertial">
<a-form-item>
<a-input v-model="selectedPost.thumbnail" placeholder="点击缩略图选择图片链接,或者输入外部链接"></a-input>
</a-form-item>
</a-form>
<a-button
class="post-thumb-remove"
type="dashed"