use $event instead of event in vue template

This commit is contained in:
Alina Beck 2020-01-27 19:25:46 +01:00
parent 73a1d54915
commit c74eebfcdc

View File

@ -6,7 +6,7 @@
v-else v-else
:src="user.avatar | proxyApiUrl" :src="user.avatar | proxyApiUrl"
class="image" class="image"
@error="event.target.style.display = 'none'" @error="$event.target.style.display = 'none'"
/> />
</div> </div>
</template> </template>