lesson 131: cache the data when switching tabs
This commit is contained in:
parent
327f4133c3
commit
c13912799a
|
@ -11,7 +11,9 @@
|
|||
>Add Resource</base-button
|
||||
>
|
||||
</base-card>
|
||||
<component :is="selectedTab"></component>
|
||||
<keep-alive>
|
||||
<component :is="selectedTab"></component>
|
||||
</keep-alive>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
Reference in New Issue