hz-zhhq-web/node_modules/.cache/babel-loader/05d9c9100694229461c175b1f4c...

1 line
1.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\\src\\layout\\components\\Sidebar\\FixiOSBug.js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\layout\\components\\Sidebar\\FixiOSBug.js","mtime":1737610069392},{"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}],"contextDependencies":[],"result":["export default {\n computed: {\n device: function device() {\n return this.$store.state.app.device;\n }\n },\n mounted: function mounted() {\n // In order to fix the click on menu on the ios device will trigger the mouseleave bug\n // https://github.com/PanJiaChen/vue-element-adxxmin/issues/1135\n this.fixBugIniOS();\n },\n methods: {\n fixBugIniOS: function fixBugIniOS() {\n var _this = this;\n var $subMenu = this.$refs.subMenu;\n if ($subMenu) {\n var handleMouseleave = $subMenu.handleMouseleave;\n $subMenu.handleMouseleave = function (e) {\n if (_this.device === 'mobile') {\n return;\n }\n handleMouseleave(e);\n };\n }\n }\n }\n};",null]}