TransFlow/node_modules/.cache/babel-loader/0d0a67c3a11c31ef0be71c9594d...

1 line
7.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":"D:\\视频边缘1215\\TransFlow\\node_modules\\babel-loader\\lib\\index.js!D:\\视频边缘1215\\TransFlow\\src\\main.js","dependencies":[{"path":"D:\\视频边缘1215\\TransFlow\\src\\main.js","mtime":1671074748351},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1671074740928},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\babel-loader\\lib\\index.js","mtime":1671074740599}],"contextDependencies":[],"result":["import \"D:\\\\\\u89C6\\u9891\\u8FB9\\u7F181215\\\\TransFlow\\\\node_modules\\\\core-js\\\\modules\\\\es6.array.iterator.js\";\nimport \"D:\\\\\\u89C6\\u9891\\u8FB9\\u7F181215\\\\TransFlow\\\\node_modules\\\\core-js\\\\modules\\\\es6.promise.js\";\nimport \"D:\\\\\\u89C6\\u9891\\u8FB9\\u7F181215\\\\TransFlow\\\\node_modules\\\\core-js\\\\modules\\\\es6.object.assign.js\";\nimport \"D:\\\\\\u89C6\\u9891\\u8FB9\\u7F181215\\\\TransFlow\\\\node_modules\\\\core-js\\\\modules\\\\es7.promise.finally.js\";\nimport Vue from 'vue';\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\nimport ViewUI from 'view-design';\nimport 'view-design/dist/styles/iview.css';\nimport axios from 'axios';\nimport App from \"./App.vue\";\nimport store from \"./store\";\nimport router from \"./router/index.js\";\nimport echarts from 'echarts';\nimport VueI18n from 'vue-i18n';\nimport { messages } from \"./components/common/i18n.js\";\nimport { formatSeconds } from \"./utils/tools.js\";\nimport 'babel-polyfill';\nimport \"./assets/css/main.css\";\nimport \"./assets/css/theme.scss\";\nVue.use(ElementUI);\nVue.use(ViewUI);\nVue.use(VueI18n);\nvar i18n = new VueI18n({\n locale: 'zh',\n messages: messages\n});\nVue.prototype.$axios = axios;\nVue.prototype.$echarts = echarts;\nVue.prototype.$formatSeconds = formatSeconds; // 全局使用该工具函数\n\nArray.prototype.pushNoRepeat = function () {\n // 往数组里添加不重复数据\n for (var i = 0; i < arguments.length; i++) {\n var ele = arguments[i];\n\n if (this.indexOf(ele) == -1) {\n this.push(ele);\n }\n }\n};\n\nVue.config.productionTip = false; // 使用钩子函数对路由进行权限跳转\n\nrouter.beforeEach(function (to, from, next) {\n document.title = \"\".concat(to.meta.title, \" | \\u540E\\u53F0\\u7BA1\\u7406\\u7CFB\\u7EDF\");\n var role = localStorage.getItem('ms_username');\n\n if (!role && to.path !== '/Login') {\n next('/Login');\n } else if (to.meta.permission) {\n // 如果是管理员权限则可进入,这里只是简单的模拟管理员权限而已\n role === 'admin' ? next() : next('/403');\n } else {\n // 简单的判断IE10及以下该组件不兼容\n if (navigator.userAgent.indexOf('MSIE') > -1) {\n Vue.prototype.$alert('vue-quill-editor组件不兼容IE10及以下浏览器请使用更高版本的浏览器查看', '浏览器不兼容通知', {\n confirmButtonText: '确定'\n });\n } else {\n next();\n }\n }\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});",{"version":3,"sources":["D:/视频边缘1215/TransFlow/src/main.js"],"names":["Vue","ElementUI","ViewUI","axios","App","store","router","echarts","VueI18n","messages","formatSeconds","use","i18n","locale","prototype","$axios","$echarts","$formatSeconds","Array","pushNoRepeat","i","arguments","length","ele","indexOf","push","config","productionTip","beforeEach","to","from","next","document","title","meta","role","localStorage","getItem","path","permission","navigator","userAgent","$alert","confirmButtonText","el","render","h"],"mappings":";;;;AAAA,OAAOA,GAAP,MAAgB,KAAhB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAO,sCAAP;AACA,OAAOC,MAAP,MAAmB,aAAnB;AACA,OAAO,mCAAP;AACA,OAAOC,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AArB,CAAb;;AACA,MAAI,CAACF,IAAD,IAASN,EAAE,CAACS,IAAH,KAAY,QAAzB,EAAmC;AACjCP,IAAAA,IAAI,CAAC,QAAD,CAAJ;AACD,GAFD,MAEO,IAAIF,EAAE,CAACK,IAAH,CAAQK,UAAZ,EAAwB;AAAG;AAChCJ,IAAAA,IAAI,KAAK,OAAT,GAAmBJ,IAAI,EAAvB,GAA4BA,IAAI,CAAC,MAAD,CAAhC;AACD,GAFM,MAEA;AACL;AACA,QAAIS,SAAS,CAACC,SAAV,CAAoBjB,OAApB,CAA4B,MAA5B,IAAsC,CAAC,CAA3C,EAA8C;AAC5CxB,MAAAA,GAAG,CAACc,SAAJ,CAAc4B,MAAd,CAAqB,+CAArB,EAAsE,UAAtE,EAAkF;AAChFC,QAAAA,iBAAiB,EAAE;AAD6D,OAAlF;AAGD,KAJD,MAIO;AACLZ,MAAAA,IAAI;AACL;AACF;AACF,CAjBD;AAmBA,IAAI/B,GAAJ,CAAQ;AACN4C,EAAAA,EAAE,EAAE,MADE;AAENtC,EAAAA,MAAM,EAANA,MAFM;AAGND,EAAAA,KAAK,EAALA,KAHM;AAINO,EAAAA,IAAI,EAAJA,IAJM;AAKNiC,EAAAA,MAAM,EAAE,gBAAAC,CAAC;AAAA,WAAIA,CAAC,CAAC1C,GAAD,CAAL;AAAA;AALH,CAAR","sourcesContent":["import Vue from 'vue';\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\nimport ViewUI from 'view-design';\nimport 'view-design/dist/styles/iview.css';\nimport axios from 'axios';\n\nimport App from './App.vue';\nimport store from './store';\nimport router from './router/index.js';\n\nimport echarts from 'echarts';\nimport VueI18n from 'vue-i18n';\nimport { messages } from './components/common/i18n.js';\nimport { formatSeconds } from './utils/tools.js';\nimport 'babel-polyfill';\nimport './assets/css/main.css';\nimport './assets/css/theme.scss';\n\nVue.use(ElementUI);\nVue.use(ViewUI);\nVue.use(VueI18n);\nconst i18n = new VueI18n({\n locale: 'zh',\n messages\n});\n\nVue.prototype.$axios = axios;\nVue.prototype.$echarts = echarts;\nVue.prototype.$formatSeconds = formatSeconds; // 全局使用该工具函数\n\nArray.prototype.pushNoRepeat = function(){ // 往数组里添加不重复数据\n for(var i=0; i<arguments.length; i++){\n var ele = arguments[i];\n if(this.indexOf(ele) == -1){\n this.push(ele);\n }\n }\n}\n\nVue.config.productionTip = false;\n\n// 使用钩子函数对路由进行权限跳转\nrouter.beforeEach((to, from, next) => {\n document.title = `${to.meta.title} | 后台管理系统`;\n const role = localStorage.getItem('ms_username');\n if (!role && to.path !== '/Login') {\n next('/Login');\n } else if (to.meta.permission) { // 如果是管理员权限则可进入,这里只是简单的模拟管理员权限而已\n role === 'admin' ? next() : next('/403');\n } else {\n // 简单的判断IE10及以下该组件不兼容\n if (navigator.userAgent.indexOf('MSIE') > -1) {\n Vue.prototype.$alert('vue-quill-editor组件不兼容IE10及以下浏览器请使用更高版本的浏览器查看', '浏览器不兼容通知', {\n confirmButtonText: '确定'\n });\n } else {\n next();\n }\n }\n});\n\nnew Vue({\n el: '#app',\n router,\n store,\n i18n,\n render: h => h(App)\n});"]}]}