added keep-alive to improve performance when switching between tabs

This commit is contained in:
Phil Hughes 2018-04-19 13:54:19 +01:00
parent d14a06da4e
commit 29b396b4d5
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -87,9 +87,11 @@ export default {
</a>
</div>
<div class="multi-file-commit-panel-inner-scroll">
<component
:is="activityBarComponent"
/>
<keep-alive>
<component
:is="activityBarComponent"
/>
</keep-alive>
</div>
</template>
</div>