jamesjames
58
2
Vue

v-if with backslash

Posted 9 months 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.

Reply to

Use Markdown with GitHub-flavored code blocks.