mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	Keep alive index page
This commit is contained in:
		
							parent
							
								
									5875409841
								
							
						
					
					
						commit
						59070cd626
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -77,7 +77,9 @@
 | 
				
			||||||
		<main ref="main">
 | 
							<main ref="main">
 | 
				
			||||||
			<div class="content">
 | 
								<div class="content">
 | 
				
			||||||
				<transition name="page" mode="out-in">
 | 
									<transition name="page" mode="out-in">
 | 
				
			||||||
					<router-view></router-view>
 | 
										<keep-alive :include="['index']">
 | 
				
			||||||
 | 
											<router-view></router-view>
 | 
				
			||||||
 | 
										</keep-alive>
 | 
				
			||||||
				</transition>
 | 
									</transition>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
			<div class="powerd-by" :class="{ visible: !$store.getters.isSignedIn }">
 | 
								<div class="powerd-by" :class="{ visible: !$store.getters.isSignedIn }">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,8 @@ import Vue from 'vue';
 | 
				
			||||||
import Home from './index.home.vue';
 | 
					import Home from './index.home.vue';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default Vue.extend({
 | 
					export default Vue.extend({
 | 
				
			||||||
 | 
						name: 'index',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	components: {
 | 
						components: {
 | 
				
			||||||
		Home,
 | 
							Home,
 | 
				
			||||||
		Welcome: () => import('./index.welcome.vue').then(m => m.default),
 | 
							Welcome: () => import('./index.welcome.vue').then(m => m.default),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue