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.
cloudnote_web/store/menus.js

17 lines
328 B

4 years ago
/**
* 菜单列表
*/
export const state=()=>({
menus:['document', 'note', 'center']
4 years ago
})
export const mutations = {
//默认不包含阅读论文菜单
none(state){
state.menus=['document', 'note', 'center']
4 years ago
},
//包含阅读论文菜单
read(state){
state.menus=['document', 'note', 'center','read']
4 years ago
}
}