1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\layout\\components\\Sidebar\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\layout\\components\\Sidebar\\index.vue","mtime":1737610069393},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import _objectSpread from \"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { mapGetters } from 'vuex';\nimport Logo from \"./Logo\";\nimport SidebarItem from \"./SidebarItem\";\nimport _variables from '@/styles/variables.scss';\nexport default {\n data: function data() {\n return {\n msg: ''\n };\n },\n components: {\n SidebarItem: SidebarItem,\n Logo: Logo\n },\n created: function created() {\n this.msg = JSON.parse(window.localStorage.getItem('nav'));\n },\n computed: _objectSpread(_objectSpread({}, mapGetters(['permission_routes', 'sidebar'])), {}, {\n activeMenu: function activeMenu() {\n var route = this.$route;\n var meta = route.meta,\n path = route.path;\n // if set path, the sidebar will highlight the path you set\n if (meta.activeMenu) {\n return meta.activeMenu;\n }\n return path;\n },\n showLogo: function showLogo() {\n // console.log(this.$store.state.settings.sidebarLogo)\n return this.$store.state.settings.sidebarLogo;\n },\n variables: function variables() {\n return _variables;\n },\n isCollapse: function isCollapse() {\n return !this.sidebar.opened;\n }\n }),\n mounted: function mounted() {\n // console.log(this.permission_routes)\n }\n};",null]}
|