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" :href="file.url"
>{{ file.url }}</a> >{{ file.url }}</a>
</div> </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> </div>
<div <div

View File

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