You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v-for will not redraw the view at v-ons-card/v-ons-list tag when I push the data to list.
but it can work like this. <ul> <li v-for="template of templateList" :key="template.label" > <div class="title">{{ template.label }}</div> </li> </ul>
Is there a function I can call and redraw the view?
Here is my code.
<v-ons-card v-for="template of templateList" :key="template.label">
<div class="title">{{ template.label }}</div>
</v-ons-card>
v-for will not redraw the view at v-ons-card/v-ons-list tag when I push the data to list.
but it can work like this.
<ul> <li v-for="template of templateList" :key="template.label" > <div class="title">{{ template.label }}</div> </li> </ul>
Is there a function I can call and redraw the view?
Here is my code.
//Script
The text was updated successfully, but these errors were encountered: