1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/5eb0d2ecf4054c4cebd596e092e...

1 line
3.7 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-sidebar-sub-menu.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-sidebar-sub-menu.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport SubMenu from \"./main-sidebar-sub-menu\";\nexport default {\n name: 'sub-menu',\n props: {\n menu: {\n type: Object,\n required: true\n }\n },\n components: {\n SubMenu: SubMenu\n },\n methods: {\n // 通过menuId与动态(菜单)路由进行匹配跳转至指定路由\n gotoRouteHandle: function gotoRouteHandle(menuId) {\n var route = window.SITE_CONFIG['dynamicMenuRoutes'].filter(function (item) {\n return item.meta.menuId === menuId;\n })[0];\n\n if (route) {\n this.$router.push({\n name: route.name\n });\n }\n }\n }\n};",{"version":3,"sources":["main-sidebar-sub-menu.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeA,OAAA,OAAA;AACA,eAAA;AACA,EAAA,IAAA,EAAA,UADA;AAEA,EAAA,KAAA,EAAA;AACA,IAAA,IAAA,EAAA;AACA,MAAA,IAAA,EAAA,MADA;AAEA,MAAA,QAAA,EAAA;AAFA;AADA,GAFA;AAQA,EAAA,UAAA,EAAA;AACA,IAAA,OAAA,EAAA;AADA,GARA;AAWA,EAAA,OAAA,EAAA;AACA;AACA,IAAA,eAFA,2BAEA,MAFA,EAEA;AACA,UAAA,KAAA,GAAA,MAAA,CAAA,WAAA,CAAA,mBAAA,EAAA,MAAA,CAAA,UAAA,IAAA;AAAA,eAAA,IAAA,CAAA,IAAA,CAAA,MAAA,KAAA,MAAA;AAAA,OAAA,EAAA,CAAA,CAAA;;AACA,UAAA,KAAA,EAAA;AACA,aAAA,OAAA,CAAA,IAAA,CAAA;AAAA,UAAA,IAAA,EAAA,KAAA,CAAA;AAAA,SAAA;AACA;AACA;AAPA;AAXA,CAAA","sourcesContent":["<template>\n <el-submenu v-if=\"menu.children && menu.children.length >= 1\" :index=\"menu.id\" :popper-append-to-body=\"false\">\n <template slot=\"title\">\n <svg class=\"icon-svg aui-sidebar__menu-icon\" aria-hidden=\"true\"><use :xlink:href=\"`#${menu.icon}`\"></use></svg>\n <span>{{ menu.name }}</span>\n </template>\n <sub-menu v-for=\"item in menu.children\" :key=\"item.id\" :menu=\"item\"></sub-menu>\n </el-submenu>\n <el-menu-item v-else :index=\"menu.id\" @click=\"gotoRouteHandle(menu.id)\">\n <svg class=\"icon-svg aui-sidebar__menu-icon\" aria-hidden=\"true\"><use :xlink:href=\"`#${menu.icon}`\"></use></svg>\n <span>{{ menu.name }}</span>\n </el-menu-item>\n</template>\n\n<script>\nimport SubMenu from './main-sidebar-sub-menu'\nexport default {\n name: 'sub-menu',\n props: {\n menu: {\n type: Object,\n required: true\n }\n },\n components: {\n SubMenu\n },\n methods: {\n // 通过menuId与动态(菜单)路由进行匹配跳转至指定路由\n gotoRouteHandle (menuId) {\n var route = window.SITE_CONFIG['dynamicMenuRoutes'].filter(item => item.meta.menuId === menuId)[0]\n if (route) {\n this.$router.push({ name: route.name })\n }\n }\n }\n}\n</script>\n"],"sourceRoot":"src/views"}]}