Files
dsProject/dsBase/WebRoot/html/cdn/pages/components/navMenu.js

51 lines
844 B
JavaScript
Raw Normal View History

2025-08-14 15:45:08 +08:00
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
}
}
}