You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
17 lines
358 B
4 years ago
|
/**
|
||
|
* 菜单列表
|
||
|
*/
|
||
|
export const state=()=>({
|
||
|
menus:['document', 'note', 'center', 'upload']
|
||
|
})
|
||
|
export const mutations = {
|
||
|
//默认不包含阅读论文菜单
|
||
|
none(state){
|
||
|
state.menus=['document', 'note', 'center', 'upload']
|
||
|
},
|
||
|
//包含阅读论文菜单
|
||
|
read(state){
|
||
|
state.menus=['document', 'note', 'center', 'upload','read']
|
||
|
}
|
||
|
}
|