全局菜单变换监听
							parent
							
								
									8d0ad82d04
								
							
						
					
					
						commit
						775b34282e
					
				| @ -0,0 +1,20 @@ | ||||
| const state = { | ||||
|     menuActive: 0, | ||||
| } | ||||
| const mutations = { | ||||
|     SET_MENU_ACTIVE: (state, menuActive) => { | ||||
|         state.menuActive = menuActive | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| const actions = { | ||||
|    | ||||
| } | ||||
| 
 | ||||
| export default { | ||||
|   namespaced: true, | ||||
|   state, | ||||
|   mutations, | ||||
|   actions | ||||
| } | ||||
| 
 | ||||
					Loading…
					
					
				
		Reference in New Issue