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 = 'appAuthor'">Author</button>
|
||||||
<button @click="selectedComponent = 'appNew'">New</button>
|
<button @click="selectedComponent = 'appNew'">New</button>
|
||||||
<hr>
|
<hr>
|
||||||
<!--<app-quote>-->
|
<keep-alive>
|
||||||
|
<component :is="selectedComponent"
|
||||||
<!--</app-quote>-->
|
>
|
||||||
<component :is="selectedComponent"
|
<h2 slot="title">{{quoteTitle}}</h2>
|
||||||
>
|
<p>A Simple Quote</p>
|
||||||
<h2 slot="title">{{quoteTitle}}</h2>
|
</component>
|
||||||
<p>A Simple Quote</p>
|
</keep-alive>
|
||||||
</component>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user