The picture rendered in this way in vue is an object, how to solve it?

<img  class="log-status-icon"  :src="{"img/icon/success.svg": tips_info.status=="success"}">

as shown in the figure, this is why and how to solve

Aug.16,2021

your way of writing is to give src an object. Object binding is the syntax sugar that vue provides to class and style, and not all attributes are applicable.
try this instead

<img class="log-status-icon" :src="`${tips_info.status == 'success' ? 'img/icon/success.svg' : ''}`">
Menu