fix vue style warnings

This commit is contained in:
xenofem 2020-06-28 02:31:57 -04:00
parent 1ff55e17b1
commit 03aa1f3154
2 changed files with 6 additions and 2 deletions

View file

@ -266,7 +266,11 @@
:href="file.url"
>{{ file.url }}</a>
</div>
<input type="text" :placeholder="$t('post_status.media_description')" v-model="newStatus.mediaDescriptions[file.id]">
<input
v-model="newStatus.mediaDescriptions[file.id]"
type="text"
:placeholder="$t('post_status.media_description')"
>
</div>
</div>
<div

View file

@ -10,9 +10,9 @@
<!-- NOTE: key is required to force to re-render img tag when src is changed -->
<img
ref="src"
:key="src"
:alt="alt"
:title="alt"
:key="src"
:src="src"
:referrerpolicy="referrerpolicy"
@load="onLoad"