how-to-mustache-if-else-statement
After I read this, I tried as the article in Vue.js but it emitted just error.
<tr v-for="(data, i) in userList" :key="i">
<td>{{#data.authority==1}}Admin{{/data.authority==1}}</td>
</tr>
If I write just {{data.authority}}
then it worked well.
How to use if-else as mustache grammar in Vue.js?