hz-zhhq-web/node_modules/.cache/babel-loader/de70aea700c1f4ee4a1068ff564...

1 line
1.4 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"remainingRequest":"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\\babel-loader\\lib\\index.js","mtime":456789000000}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = exports.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]}