完善采购订单、登录、菜单、角色功能

This commit is contained in:
2024-07-31 10:49:41 +08:00
parent b66c204f77
commit cf886b1e9b
6 changed files with 133 additions and 19 deletions

View File

@@ -47,15 +47,34 @@
// return this.$router.options.routes
// },
activeMenu() {
// console.log('aaaaaaaaaaa', this.$route)
// console.log("val>>>>>>>>>>>>>>>>.", this.$route.query.index); // 页面获取
// this.$route.query.index = [{
// sid: '11',
// name: "ssss"
// }, {
// sid: '22',
// name: "aaa"
// }, {
// sid: '33',
// name: "bbb"
// }]
const route = this.$route
const {
meta,
path
path,
// query,
} = route
// this.$route.query = {
// index: '1'
// }
// if set path, the sidebar will highlight the path you set
if (meta.activeMenu) {
return meta.activeMenu
}
// console.log('bbbbbbb', path)
return path
},
showLogo() {