| | |
| | | if (to.matched.length == 0) { |
| | | router.push(to.fullPath); |
| | | } |
| | | console.log(menuRouter,router,8899) |
| | | isGetRouter = true; |
| | | } |
| | | beforeEach(to, from) |
| | |
| | | .adminui-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;background-color: #315655;} |
| | | .adminui-side-scrolul,.el-menu {background-color: #315655;} |
| | | .adminui-side-scrolul .el-menu-item ,.adminui-side-scrolul .el-sub-menu__title{color: #fff;} |
| | | .adminui-side-scrolul .el-sub-menu .el-menu .el-menu-item {padding-left: 26px;} |
| | | .adminui-side-scrolul .el-menu-item:hover,.adminui-side-scrolul .el-sub-menu__title:hover{background-color: #316e6e;} |
| | | .adminui-side-bottom {border-top: 1px solid #ebeef5;height:51px;cursor: pointer;display: flex;align-items: center;justify-content: center;} |
| | | .adminui-side-bottom i {font-size: 16px;} |
| | |
| | | clonedItem.children = addComponentToLastLevel(clonedItem.children); |
| | | } else { |
| | | // å¦ææ²¡æ children 屿§ï¼è¯´ææ¯æåä¸çº§ï¼æ·»å component 对象 |
| | | clonedItem.component = clonedItem.path; |
| | | clonedItem.component = clonedItem.path.split("/")[1]; |
| | | } |
| | | //console.log(clonedItem.source) |
| | | clonedItem.meta = {title: clonedItem.name,icon: "el-icon-takeaway-box", type: "menu"} |
| | | return clonedItem; |
| | | }); |
| | |
| | | menu: transformedArray, |
| | | permissions: ["list.add", "list.edit", "list.delete", "user.add", "user.edit", "user.delete"] |
| | | } |
| | | console.log(obj.menu) |
| | | // this.$API.system.menu.myMenus.get().then(resp=> { |
| | | // console.log(transformedArray,resp,1234); |
| | | // Object.assign({},transformedArray,resp.data.menu); |
| | | // this.$TOOL.data.set("MENU", obj.menu) |
| | | // this.$TOOL.data.set("PERMISSIONS", obj.permissions) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-03-26 20:57:34 |
| | | * @FilePath: /smart-web/src/views/master/person/main/index.vue |
| | | * @Description: è¿æ¯é»è®¤è®¾ç½®,请设置`customMade`, æå¼koroFileHeaderæ¥çé
ç½® è¿è¡è®¾ç½®: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | | <template> |
| | | <div> |
| | | bakalaka |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | export default { |
| | | name: "bakalaka", |
| | | data(){ |
| | | return { |
| | | pageLoading: true, |
| | | dashboard: '0' |
| | | } |
| | | }, |
| | | created(){ |
| | | |
| | | }, |
| | | mounted(){ |
| | | |
| | | }, |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |