hz-zhhq-web/node_modules/.cache/babel-loader/9b62f42c3248503311566f6a995...

1 line
5.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"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\\main.js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\main.js","mtime":1737610069394},{"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":["import \"core-js/modules/es6.regexp.replace\";\nimport \"E:\\\\hz-zhhq-web\\\\node_modules\\\\core-js\\\\modules\\\\es6.array.iterator.js\";\nimport \"E:\\\\hz-zhhq-web\\\\node_modules\\\\core-js\\\\modules\\\\es6.promise.js\";\nimport \"E:\\\\hz-zhhq-web\\\\node_modules\\\\core-js\\\\modules\\\\es6.object.assign.js\";\nimport \"E:\\\\hz-zhhq-web\\\\node_modules\\\\core-js\\\\modules\\\\es7.promise.finally.js\";\nimport Vue from 'vue';\nimport Cookies from 'js-cookie';\n\n// import moment from 'moment'\n\nimport 'normalize.css/normalize.css'; // a modern alternative to CSS resets\n\nimport Element from 'element-ui';\n// import 'element-theme-chalk';\nimport 'element-ui/lib/theme-chalk/index.css';\n// import './styles/element-variables.scss'\n\nimport '@/styles/index.scss'; // global css\n\nimport App from \"./App\";\nimport store from \"./store\";\nimport router from \"./router\";\nimport { Loading } from 'element-ui';\nimport { a } from \"./router\";\nimport _i18n from \"./lang\"; // internationalization\nimport \"./icons\"; // icon\n// import './permission' // permission control\n// import './utils/error-log' // error log\n\n// import * as filters from './filters' // global filters\n\nfunction rots(tos, ropath) {\n for (var i in ropath) {\n var kpaths = ropath[i].path;\n if (tos === kpaths) {\n return true;\n }\n if (ropath[i].children) {\n for (var k in ropath[i].children) {\n var kur = \"\".concat(kpaths, \"/\").concat(ropath[i].children[k].path);\n if (tos === kur) {\n return true;\n }\n }\n }\n }\n return false;\n}\nif (a) {\n router.beforeEach(function (to, from, next) {\n if (to.path == '/') {\n // const loading =Loading.service({\n // lock: true,\n // text: \"Loading...\",\n // background: 'rgba(0, 0, 0, 0)',\n // spinner: 'my-el-custom-spinner',\n // });\n // setTimeout(() => {\n // loading.close();\n // }, 6000);\n a.then(function (msg) {\n var kuli = msg[0].path;\n next({\n path: kuli\n });\n return;\n });\n return;\n }\n var kisy = rots(to.path, router.options.routes);\n if (kisy) {\n next();\n } else {\n next({\n path: '/404'\n });\n }\n });\n}\nimport echarts from 'echarts';\n// 全局注册组件\nVue.prototype.$echarts = echarts;\n//数据脱敏\nimport regular from \"./utils/dataDesensi\";\nVue.prototype.regular = regular;\nVue.use(Element, {\n size: Cookies.get('size') || 'medium',\n // set element-ui default size\n i18n: function i18n(key, value) {\n return _i18n.t(key, value);\n }\n});\n\n/**input特殊字符 */\nVue.prototype.validForbid = function (value) {\n var number = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 255;\n value = value.replace(/[`~!@#$%^&*¥()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|/《》?:“”【】、;‘’,。、]/g, '').replace(/\\s/g, \"\");\n if (value.length >= number) {\n this.$message({\n type: \"warning\",\n message: \"\\u8F93\\u5165\\u5185\\u5BB9\\u4E0D\\u80FD\\u8D85\\u8FC7\".concat(number, \"\\u4E2A\\u5B57\\u7B26\")\n });\n }\n return value;\n};\n\n/**ip地址 */\nVue.prototype.validForNoId = function (value) {\n var number = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 255;\n value = value.replace(/[`~!@#$%^&¥*()_\\-+=<>?:\"{}|,;'\\\\[\\]·~@#¥%……&*()——\\-+={}|/《》?:“”【】、;‘’,。、]/g, '').replace(/\\s/g, \"\");\n if (value.length >= number) {\n this.$message({\n type: \"warning\",\n message: \"\\u8F93\\u5165\\u5185\\u5BB9\\u4E0D\\u80FD\\u8D85\\u8FC7\".concat(number, \"\\u4E2A\\u5B57\\u7B26\")\n });\n }\n return value;\n};\n\n/**备注 */\nVue.prototype.remarkRoles = function (value) {\n var number = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n value = value.replace(/[<>\"'%¥()&+\\\\\\\\'\\\\\"]/g, '').replace(/\\s/g, \"\");\n\n // if (value.length < number) {\n // this.$message({\n // type: \"warning\",\n // message: `输入内容不能超过${number}`\n // });\n // }\n return value;\n};\n\n/**validPath 用户管理路径 */\nVue.prototype.loginName = function (value) {\n var number = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 255;\n value = value.replace(/[`~!@#$%^&*¥()_+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——+={}|/《》?:“”【】、;‘’,。、]/g, '').replace(/\\s/g, \"\");\n return value;\n};\n\n// Object.keys(filters).forEach(key => {\n// Vue.filter(key, filters[key])\n// })JSESSIONID\nVue.config.productionTip = false;\n// document.cookie = 'JSESSIONID' + \"=\" + '54EC700139AEC7F0A256760932AC6364';\n\nnew Vue({\n el: '#app',\n router: router,\n store: store,\n i18n: _i18n,\n render: function render(h) {\n return h(App);\n }\n});",null]}