1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
|
{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\layout\\components\\Sidebar\\Item.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\layout\\components\\Sidebar\\Item.vue","mtime":1718070786025},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":1718764959024},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1718764959862}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICdNZW51SXRlbScsDQogIGZ1bmN0aW9uYWw6IHRydWUsDQogIHByb3BzOiB7DQogICAgaWNvbjogew0KICAgICAgdHlwZTogU3RyaW5nLA0KICAgICAgZGVmYXVsdDogJycNCiAgICB9LA0KICAgIHRpdGxlOiB7DQogICAgICB0eXBlOiBTdHJpbmcsDQogICAgICBkZWZhdWx0OiAnJw0KICAgIH0NCiAgfSwNCiAgcmVuZGVyKGgsIGNvbnRleHQpIHsNCiAgICBjb25zdCB7IGljb24sIHRpdGxlIH0gPSBjb250ZXh0LnByb3BzDQogICAgY29uc3Qgdm5vZGVzID0gW10NCg0KICAgIGlmIChpY29uKSB7DQogICAgICBpZiAoaWNvbi5pbmNsdWRlcygnZWwtaWNvbicpKSB7DQogICAgICAgIHZub2Rlcy5wdXNoKDxpIGNsYXNzPXtbaWNvbiwgJ3N1Yi1lbC1pY29uJ119IC8+KQ0KICAgICAgfSBlbHNlIHsNCiAgICAgICAgdm5vZGVzLnB1c2goPHN2Zy1pY29uIGljb24tY2xhc3M9e2ljb259Lz4pDQogICAgICB9DQogICAgfQ0KDQogICAgaWYgKHRpdGxlKSB7DQogICAgICB2bm9kZXMucHVzaCg8c3BhbiBzbG90PSd0aXRsZSc+eyh0aXRsZSl9PC9zcGFuPikNCiAgICB9DQogICAgcmV0dXJuIHZub2Rlcw0KICB9DQp9DQo="},{"version":3,"sources":["Item.vue"],"names":[],"mappings":";AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","file":"Item.vue","sourceRoot":"src/layout/components/Sidebar","sourcesContent":["<script>\r\nexport default {\r\n name: 'MenuItem',\r\n functional: true,\r\n props: {\r\n icon: {\r\n type: String,\r\n default: ''\r\n },\r\n title: {\r\n type: String,\r\n default: ''\r\n }\r\n },\r\n render(h, context) {\r\n const { icon, title } = context.props\r\n const vnodes = []\r\n\r\n if (icon) {\r\n if (icon.includes('el-icon')) {\r\n vnodes.push(<i class={[icon, 'sub-el-icon']} />)\r\n } else {\r\n vnodes.push(<svg-icon icon-class={icon}/>)\r\n }\r\n }\r\n\r\n if (title) {\r\n vnodes.push(<span slot='title'>{(title)}</span>)\r\n }\r\n return vnodes\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.sub-el-icon {\r\n color: currentColor;\r\n width: 1em;\r\n height: 1em;\r\n}\r\n</style>\r\n"]}]}
|