mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
"keep-alive" component caching
This commit is contained in:
@@ -32,7 +32,9 @@ export default {
|
||||
<a class="nav-link" :class="{active: comp == component}" :aria-current="comp == component ? 'page' : ''" href="#" @click="component=comp">{{title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<component :is="component" :student="student"></component>
|
||||
<keep-alive>
|
||||
<component :is="component" :student="student"></component>
|
||||
</keep-alive>
|
||||
</template>
|
||||
</div>`
|
||||
};
|
||||
Reference in New Issue
Block a user