jamesjames
109
2
Vue

v-if with backslash

Posted 1 year ago by jamesjames

This one works fine

<p v-if="unread.type === 'aaa'">
  Quote accepted
</p>   

But this one does not work with backslash

<p v-if="unread.type === 'App\Notifications\QuoteAccepted'">
  Quote accepted
</p>    

How to solve this issue???

Please sign in or create an account to participate in this conversation.