2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
(function(e){function n(n){for(var a,c,o=n[0],i=n[1],f=n[2],h=0,l=[];h<o.length;h++)c=o[h],Object.prototype.hasOwnProperty.call(u,c)&&u[c]&&l.push(u[c][0]),u[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);d&&d(n);while(l.length)l.shift()();return r.push.apply(r,f||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],a=!0,c=1;c<t.length;c++){var o=t[c];0!==u[o]&&(a=!1)}a&&(r.splice(n--,1),e=i(i.s=t[0]))}return e}var a={},c={app:0},u={app:0},r=[];function o(e){return i.p+"static/js/"+({}[e]||e)+"."+{"chunk-03ef1325":"8085e8ef","chunk-0a122200":"4fabf56e","chunk-1417f69c":"621b7e3d","chunk-2126896d":"50eadf9c","chunk-25001e32":"6998196e","chunk-25a6b5bf":"31998b63","chunk-298ee65b":"25f1344d","chunk-2d217aeb":"a5bf3762","chunk-2ffccff5":"d34c9262","chunk-301b50ea":"f5816a80","chunk-32f17606":"d51df642","chunk-450b0085":"82339920","chunk-6269b174":"fc2fbe05","chunk-68b5485e":"e9d3faad","chunk-40d445aa":"0882010e","chunk-8a85a220":"f306fdc3","chunk-6c1c489d":"ffec9e9c","chunk-73ef8f6c":"6e6d72ae","chunk-74f53d49":"4e803418","chunk-7daf91be":"ff22ba9d","chunk-ad10cd4c":"1345e169","chunk-b6a8269c":"1912d475","chunk-db12337e":"c32a4f84","chunk-f4b8e89c":"c7ee164c","chunk-f94c3e26":"4b8cbabf","chunk-fc7c4266":"70d991a2"}[e]+".js"}function i(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-03ef1325":1,"chunk-0a122200":1,"chunk-1417f69c":1,"chunk-2126896d":1,"chunk-25001e32":1,"chunk-25a6b5bf":1,"chunk-298ee65b":1,"chunk-2ffccff5":1,"chunk-301b50ea":1,"chunk-32f17606":1,"chunk-450b0085":1,"chunk-6269b174":1,"chunk-68b5485e":1,"chunk-40d445aa":1,"chunk-8a85a220":1,"chunk-6c1c489d":1,"chunk-73ef8f6c":1,"chunk-74f53d49":1,"chunk-7daf91be":1,"chunk-ad10cd4c":1,"chunk-b6a8269c":1,"chunk-db12337e":1,"chunk-f4b8e89c":1,"chunk-f94c3e26":1,"chunk-fc7c4266":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var a="static/css/"+({}[e]||e)+"."+{"chunk-03ef1325":"fefb88e9","chunk-0a122200":"40a3275f","chunk-1417f69c":"31330ebf","chunk-2126896d":"97aa3da3","chunk-25001e32":"fe5bf00c","chunk-25a6b5bf":"0e6487a9","chunk-298ee65b":"4eb5f10f","chunk-2d217aeb":"31d6cfe0","chunk-2ffccff5":"f7b2802b","chunk-301b50ea":"a45a62f4","chunk-32f17606":"42b5599c","chunk-450b0085":"1deb87de","chunk-6269b174":"cef9a5b0","chunk-68b5485e":"d555ed50","chunk-40d445aa":"99399cac","chunk-8a85a220":"88c8d204","chunk-6c1c489d":"261aa5c0","chunk-73ef8f6c":"60101364","chunk-74f53d49":"d961ab7f","chunk-7daf91be":"3933e170","chunk-ad10cd4c":"e1f5e94d","chunk-b6a8269c":"07b148a8","chunk-db12337e":"97aa3da3","chunk-f4b8e89c":"97aa3da3","chunk-f94c3e26":"33f00271","chunk-fc7c4266":"77b39054"}[e]+".css",u=i.p+a,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var f=r[o],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===a||h===u))return n()}var l=document.getElementsByTagName("style");for(o=0;o<l.length;o++){f=l[o],h=f.getAttribute("data-href");if(h===a||h===u)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.onerror=function(n){var a=n&&n.target&&n.target.src||u,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete c[e],d.parentNode.removeChild(d),t(r)},d.href=u;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){c[e]=0})));var a=u[e];if(0!==a)if(a)n.push(a[2]);else{var r=new Promise((function(n,t){a=u[e]=[n,t]}));n.push(a[2]=r);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=o(e);var l=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(d);var t=u[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",l.name="ChunkLoadError",l.type=a,l.request=c,t[1](l)}u[e]=void 0}};var d=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=a,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)i.d(t,a,function(n){return e[n]}.bind(null,a));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var d=h;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"56d7":function(e,n,t){"use strict";t.r(n);t("cadf"),t("551c"),t("f751"),t("097d");var a=t("2b0e"),c=t("5c96"),u=t.n(c),r=(t("0fae"),t("f825")),o=t.n(r),i=(t("f8ce"),t("bc3a")),f=t.n(i),h=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{class:e.style?"theme1":"",attrs:{id:"app"}},[t("router-view")],1)},l=[],d=t("d8ad"),p={data:function(){return{style:!1}},created:function(){var e=this;d["a"].$on("global_theme",(function(n){e.style=n}))}},s=p,m=t("2877"),b=Object(m["a"])(s,h,l,!1,null,null,null),k=b.exports,g=t("2f62"),v=t("852e"),y=t.n(v);a["default"].use(g["a"]);var w=new g["a"].Store({state:{authToken:y.a.get("authToken")||""},mutations:{},actions:{}}),S=w,I=t("8c4f");a["default"].use(I["a"]);var P=I["a"].prototype.push;I["a"].prototype.push=function(e){return P.call(this,e).catch((function(e){return e}))};var C=new I["a"]({routes:[{path:"/",component:function(){return t.e("chunk-7daf91be").then(t.bind(null,"d9b8"))},meta:{title:"整体页面布局"},redirect:"/test1",children:[{path:"/test1",component:function(){return t.e("chunk-450b0085").then(t.bind(null,"fbdf"))},meta:{title:"一级菜单1"},redirect:"/test1/AnalysisMain",children:[{path:"AnalysisMain",meta:{title:"分析",icon:"ac"},component:function(){return Promise.all([t.e("chunk-68b5485e"),t.e("chunk-8a85a220")]).then(t.bind(null,"5ea5"))}},{path:"index",meta:{title:"分析"},component:function(){return Promise.all([t.e("chunk-68b5485e"),t.e("chunk-40d445aa")]).then(t.bind(null,"1e4b"))}},{path:"AboutMachine",name:"AboutMachine",meta:{title:"关于本机"},component:function(){return t.e("chunk-2ffccff5").then(t.bind(null,"6f10"))}},{path:"network",name:"network",meta:{title:"网络"},component:function(){return t.e("chunk-b6a8269c").then(t.bind(null,"07d3"))}},{path:"VPN",name:"VPN",meta:{title:"VPN"},component:function(){return t.e("chunk-73ef8f6c").then(t.bind(null,"19f8"))}},{path:"CustomOperations",name:"CustomOperations",meta:{title:"自定义操作"},component:function(){return t.e("chunk-f94c3e26").then(t.bind(null,"8302"))}},{path:"HealthCheck",name:"HealthCheck",meta:{title:"健康检测"},component:function(){return t.e("chunk-6c1c489d").then(t.bind(null,"bf1f"))}},{path:"AboutMachine",name:"AboutMachine",meta:{title:"关于本机"},component:function(){return t.e("chunk-2ffccff5").then(t.bind(null,"6f10"))}},{path:"network",name:"network",meta:{title:"网络"},component:function(){return t.e("chunk-b6a8269c").then(t.bind(null,"07d3"))}},{path:"VPN",name:"VPN",meta:{title:"VPN"},component:function(){return t.e("chunk-73ef8f6c").then(t.bind(null,"19f8"))}},{path:"CustomOperations",name:"CustomOperations",meta:{title:"自定义操作"},component:function(){return t.e("chunk-f94c3e26").then(t.bind(null,"8302"))}},{path:"HealthCheck",name:"HealthCheck",meta:{title:"健康检测"},component:function(){return t.e("chunk-6c1c489d").then(t.bind(null,"bf1f"))}},{path:"StateOperation",name:"StateOperation",meta:{title:"运行状态"},component:function(){return t.e("chunk-74f53d49").then(t.bind(null,"7fa6"))}},{path:"interface",name:"interface",meta:{title:"接口"},component:function(){return t.e("chunk-2d217aeb").then(t.bind(null,"c888"))}},{path:"IPSetting",name:"IPSetting",meta:{title:"IP设置"},component:function(){return t.e("chunk-25001e32").then(t.bind(null,"2024"))}},{path:"globalSettings",name:"globalSettings",meta:{title:"全局设置"},component:function(){return t.e("chunk-25a6b5bf").then(t.bind(null,"d3b4"))}},{path:"ExportingSettings",name:"ExportingSettings",meta:{title:"关于本机——导出设置"},component:function(){return t.e("chunk-301b50ea").then(t.bind(null,"b1d0"))}},{path:"ImportSettings",name:"ImportSettings",meta:{title:"关于本机——导入设置"},component:function(){return t.e("chunk-0a122200").then(t.bind(null,"d66a"))}},{path:"InterfaceServerCertificates",name:"InterfaceServerCertificates",meta:{title:"接口与服务器证书"},component:function(){return t.e("chunk-1417f69c").then(t.bind(null,"b53f"))}},{path:"UDPServiceSettings",name:"UDPServiceSettings",meta:{title:"UDP服务设置"},component:function(){return t.e("chunk-f4b8e89c").then(t.bind(null,"7653"))}},{path:"myId",name:"myId",meta:{title:"我的账号"},component:function(){return t.e("chunk-db12337e").then(t.bind(null,"757c"))}},{path:"IdManagement",name:"IdManagement",meta:{title:"账号管理"},component:function(){return t.e("chunk-6269b174").then(t.bind(null,"8354"))}},{path:"logs",name:"logs",meta:{title:"通知/日志"},component:function(){return t.e("chunk-2126896d").then(t.bind(null,"61a9"))}}]},{path:"/i18n",component:function(){return t.e("chunk-fc7c4266").then(t.bind(null,"051d"))},meta:{title:"国际化"}},{path:"/permission",component:function(){return t.e("chunk-32f17606").then(t.bind(null,"6ced"))},meta:{title:"权限测试",permission:!0}},{path:"/404",component:function(){return t.e("chunk-ad10cd4c").then(t.bind(null,"e1f8"))},meta:{title:"404"}},{path:"/403",component:function(){return t.e("chunk-298ee65b").then(t.bind(null,"7eb4"))},meta:{title:"403"}}]},{path:"/Login",component:function(){return t.e("chunk-03ef1325").then(t.bind(null,"914f"))},meta:{title:"登录"}},{path:"*",redirect:"/404"}]}),E=t("313e"),O=t.n(E),x=t("a925"),T={zh:{i18n:{breadcrumb:"国际化产品",tips:"通过切换语言按钮,来改变当前内容的语言。",btn:"切换英文",title1:"常用用法",p1:"要是你把你的秘密告诉了风,那就别怪风把它带给树。",p2:"没有什么比信念更能支撑我们度过艰难的时光了。",p3:"只要能把自己的事做好,并让自己快乐,你就领先于大多数人了。",title2:"组件插值",info:"Element组件需要国际化,请参考 {action}。",value:"文档"}},en:{i18n:{breadcrumb:"International Products",tips:"Click on the button to change the current language. ",btn:"Switch Chinese",title1:"Common usage",p1:"If you reveal your secrets to the wind you should not blame the wind for revealing them to the trees.",p2:"Nothing can help us endure dark times better than our faith. ",p3:"If you can do what you do best and be happy, you're further along in life than most people.",title2:"Component interpolation",info:"The default language of Element is Chinese. If you wish to use another language, please refer to the {action}.",value:"documentation"}}};t("a481"),t("28a5"),t("456d"),t("c5f6"),t("2909"),t("ac6a"),t("4f7f"),t("5df3"),t("1c4c");(function(){document.addEventListener})(),function(){document.removeEventListener}();function A(e){var n=parseInt(e),t=0,a=0,c=0,u="";return e<60?u=n+" 秒 ":(n>=60&&(t=parseInt(n/60),n=parseInt(n%60),t>=60&&(a=parseInt(t/60),t=parseInt(t%60),a>=24&&(c=parseInt(a/24),a=parseInt(a%24)))),n>0&&(u=n+" 秒 "),t>0&&(u=t+" 分钟 "+u),a>0&&(u=parseInt(a)+" 小时 "+u),c>0&&(u=parseInt(c)+" 天 "+u)),u}t("db4d"),t("5aea"),t("f532");a["default"].use(u.a),a["default"].use(o.a),a["default"].use(x["a"]),a["default"].directive("alterELDialogMarginTop",{inserted:function(e,n,t){e.firstElementChild.style.marginTop=n.value.marginTop}});var M=new x["a"]({locale:"zh",messages:T});a["default"].prototype.$axios=f.a,a["default"].prototype.$echarts=O.a,a["default"].prototype.$formatSeconds=A,Array.prototype.pushNoRepeat=function(){for(var e=0;e<arguments.length;e++){var n=arguments[e];-1==this.indexOf(n)&&this.push(n)}},a["default"].config.productionTip=!1,C.beforeEach((function(e,n,t){document.title="".concat(e.meta.title," | 后台管理系统");var c=localStorage.getItem("ms_username");c||"/Login"===e.path?e.meta.permission?"admin"===c?t():t("/403"):navigator.userAgent.indexOf("MSIE")>-1?a["default"].prototype.$alert("vue-quill-editor组件不兼容IE10及以下浏览器,请使用更高版本的浏览器查看","浏览器不兼容通知",{confirmButtonText:"确定"}):t():t("/Login")})),new a["default"]({el:"#app",router:C,store:S,i18n:M,render:function(e){return e(k)}})},"5aea":function(e,n,t){},d8ad:function(e,n,t){"use strict";var a=t("2b0e"),c=new a["default"];n["a"]=c},f532:function(e,n,t){}});
|
||
//# sourceMappingURL=app.e0e9ef01.js.map
|