lesson 131: cache the data when switching tabs

This commit is contained in:
Andreas Zweili 2021-02-08 19:29:10 +01:00
parent 327f4133c3
commit c13912799a
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@
>Add Resource</base-button
>
</base-card>
<component :is="selectedTab"></component>
<keep-alive>
<component :is="selectedTab"></component>
</keep-alive>
</template>
<script>