mirror of https://github.com/halo-dev/halo-admin
Enable input extenal thumbnail link of post
parent
19c4191a1a
commit
7264de633a
|
@ -172,6 +172,13 @@
|
||||||
:src="selectedPost.thumbnail || '/images/placeholder.jpg'"
|
:src="selectedPost.thumbnail || '/images/placeholder.jpg'"
|
||||||
@click="()=>this.thumbDrawerVisible=true"
|
@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
|
<a-button
|
||||||
class="post-thumb-remove"
|
class="post-thumb-remove"
|
||||||
type="dashed"
|
type="dashed"
|
||||||
|
|
Loading…
Reference in New Issue