Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table>
- <tr :style="{'background': index % 2 === 0 ? '#eee' : '#ccc' }">
- <td> test1 </td>
- <td> test2 </td>
- <td> test3 </td>
- </tr>
- </table>
- Property or method "index" is not defined on the instance but referenced during render.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement