s9e126 keep alive
This commit is contained in:
parent
45fa5dc5ee
commit
0dfeb0cda9
|
@ -6,14 +6,13 @@
|
|||
<button @click="selectedComponent = 'appAuthor'">Author</button>
|
||||
<button @click="selectedComponent = 'appNew'">New</button>
|
||||
<hr>
|
||||
<!--<app-quote>-->
|
||||
|
||||
<!--</app-quote>-->
|
||||
<keep-alive>
|
||||
<component :is="selectedComponent"
|
||||
>
|
||||
<h2 slot="title">{{quoteTitle}}</h2>
|
||||
<p>A Simple Quote</p>
|
||||
</component>
|
||||
</keep-alive>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user