邓宏
3 years ago
5 changed files with 49 additions and 5 deletions
@ -0,0 +1,12 @@ |
|||||
|
export default { |
||||
|
namespaced: true, |
||||
|
state:{ |
||||
|
menu:{}, |
||||
|
}, |
||||
|
mutations:{ |
||||
|
setMenu(state,val){ |
||||
|
state.menu[val.key]=val.item |
||||
|
}, |
||||
|
}, |
||||
|
actions:{} |
||||
|
} |
Loading…
Reference in new issue