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

16 lines
328 B

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