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.

51 lines
844 B

11 months ago
const moduleList = {
m100: {
moduleId: 100,
title: '关于我们'
},
m102: {
moduleId: 102,
title: '增删改查一'
},
m103: {
moduleId: 103,
title: '增删改查二'
},
m104: {
moduleId: 104,
title: '权限管理'
},
m105: {
moduleId: 105,
title: '组织架构'
},
m106: {
moduleId: 106,
title: '员工管理'
}
}
export default {
name: 'NavMenu',
template: '',
props: {
msg: String
},
setup () {
const handleOpen = (key, keyPath) => {
console.log(key, keyPath)
}
const handleClose = (key, keyPath) => {
console.log(key, keyPath)
}
return {
moduleList,
handleOpen,
handleClose
}
}
}