16 lines
		
	
	
		
			218 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			218 B
		
	
	
	
		
			JavaScript
		
	
	
	
| 
								 | 
							
								export const state = {
							 | 
						||
| 
								 | 
							
								  title: ''
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export const mutations = {
							 | 
						||
| 
								 | 
							
								  setTitle (state, title) {
							 | 
						||
| 
								 | 
							
								    state.title = title
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export const actions = {
							 | 
						||
| 
								 | 
							
								  setTitle ({ commit }, title) {
							 | 
						||
| 
								 | 
							
								    commit('setTitle', title)
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 |