2 lines
15 KiB
JavaScript
2 lines
15 KiB
JavaScript
(function(e){function n(n){for(var c,a,o=n[0],i=n[1],h=n[2],d=0,f=[];d<o.length;d++)a=o[d],Object.prototype.hasOwnProperty.call(u,a)&&u[a]&&f.push(u[a][0]),u[a]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);l&&l(n);while(f.length)f.shift()();return r.push.apply(r,h||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==u[o]&&(c=!1)}c&&(r.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},a={app:0},u={app:0},r=[];function o(e){return i.p+"static/js/"+({}[e]||e)+"."+{"chunk-032204d4":"33ab8d64","chunk-03ef1325":"b111412d","chunk-0434290e":"197dac68","chunk-0a122200":"11bbac66","chunk-0aea9f38":"2ff97627","chunk-1a3fca50":"dc1f937d","chunk-1b263039":"b3c04a3e","chunk-2126896d":"3f46e764","chunk-281234dd":"9f63e037","chunk-298ee65b":"4c5b1ee1","chunk-2a01cf36":"57e8db7f","chunk-2ceddf2c":"d13eb7d4","chunk-2d0da720":"741b9225","chunk-2d0f0a4a":"2637f7ac","chunk-2d20f595":"3f893acb","chunk-2d217aeb":"a5bf3762","chunk-2d21e38a":"ecb3c26c","chunk-2d225de7":"34e13ff6","chunk-2d22d97c":"61bc371f","chunk-32f17606":"86285651","chunk-49b10b59":"34f9e2fb","chunk-4ae3cf3e":"b7323101","chunk-4bbdb4f2":"23b35865","chunk-55b60b98":"95335026","chunk-584a0fa2":"e887737f","chunk-62f20984":"af661503","chunk-65c92748":"ac425de2","chunk-687d6e08":"692e73e8","chunk-696e1893":"68676d18","chunk-6c1c489d":"f69b4e99","chunk-a63e69c0":"4880f106","chunk-ad10cd4c":"4bc849df","chunk-d1ef54fc":"df6e5059","chunk-db12337e":"894ed7a0","chunk-f03ccc3a":"265d8e74","chunk-f4b8e89c":"92d4205d","chunk-fc7c4266":"4882456a"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[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-032204d4":1,"chunk-03ef1325":1,"chunk-0434290e":1,"chunk-0a122200":1,"chunk-0aea9f38":1,"chunk-1a3fca50":1,"chunk-1b263039":1,"chunk-2126896d":1,"chunk-281234dd":1,"chunk-298ee65b":1,"chunk-2a01cf36":1,"chunk-2ceddf2c":1,"chunk-32f17606":1,"chunk-49b10b59":1,"chunk-4ae3cf3e":1,"chunk-4bbdb4f2":1,"chunk-55b60b98":1,"chunk-584a0fa2":1,"chunk-65c92748":1,"chunk-687d6e08":1,"chunk-696e1893":1,"chunk-6c1c489d":1,"chunk-a63e69c0":1,"chunk-ad10cd4c":1,"chunk-d1ef54fc":1,"chunk-db12337e":1,"chunk-f03ccc3a":1,"chunk-f4b8e89c":1,"chunk-fc7c4266":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="static/css/"+({}[e]||e)+"."+{"chunk-032204d4":"ba4d8a59","chunk-03ef1325":"fefb88e9","chunk-0434290e":"a1b1cfaf","chunk-0a122200":"40a3275f","chunk-0aea9f38":"d6e650d4","chunk-1a3fca50":"97aa3da3","chunk-1b263039":"2a17d88a","chunk-2126896d":"97aa3da3","chunk-281234dd":"6f96b74b","chunk-298ee65b":"4eb5f10f","chunk-2a01cf36":"ba4d8a59","chunk-2ceddf2c":"0137493e","chunk-2d0da720":"31d6cfe0","chunk-2d0f0a4a":"31d6cfe0","chunk-2d20f595":"31d6cfe0","chunk-2d217aeb":"31d6cfe0","chunk-2d21e38a":"31d6cfe0","chunk-2d225de7":"31d6cfe0","chunk-2d22d97c":"31d6cfe0","chunk-32f17606":"42b5599c","chunk-49b10b59":"7668b539","chunk-4ae3cf3e":"df9a2b00","chunk-4bbdb4f2":"b8ed5331","chunk-55b60b98":"61069c69","chunk-584a0fa2":"3fbc9ebd","chunk-62f20984":"31d6cfe0","chunk-65c92748":"97aa3da3","chunk-687d6e08":"97aa3da3","chunk-696e1893":"68cf7a92","chunk-6c1c489d":"b48e440c","chunk-a63e69c0":"901c714b","chunk-ad10cd4c":"e1f5e94d","chunk-d1ef54fc":"97aa3da3","chunk-db12337e":"97aa3da3","chunk-f03ccc3a":"83363e29","chunk-f4b8e89c":"97aa3da3","chunk-fc7c4266":"77b39054"}[e]+".css",u=i.p+c,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var h=r[o],d=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(d===c||d===u))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){h=f[o],d=h.getAttribute("data-href");if(d===c||d===u)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var c=n&&n.target&&n.target.src||u,r=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=c,delete a[e],l.parentNode.removeChild(l),t(r)},l.href=u;var p=document.getElementsByTagName("head")[0];p.appendChild(l)})).then((function(){a[e]=0})));var c=u[e];if(0!==c)if(c)n.push(c[2]);else{var r=new Promise((function(n,t){c=u[e]=[n,t]}));n.push(c[2]=r);var h,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var f=new Error;h=function(n){d.onerror=d.onload=null,clearTimeout(l);var t=u[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}u[e]=void 0}};var l=setTimeout((function(){h({type:"timeout",target:d})}),12e4);d.onerror=d.onload=h,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=c,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 c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));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 h=window["webpackJsonp"]=window["webpackJsonp"]||[],d=h.push.bind(h);h.push=n,h=h.slice();for(var f=0;f<h.length;f++)n(h[f]);var l=d;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 c=t("2b0e"),a=t("5c96"),u=t.n(a),r=(t("0fae"),t("f825")),o=t.n(r),i=(t("f8ce"),t("bc3a")),h=t.n(i),d=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)},f=[],l=t("d8ad"),p={data:function(){return{style:!1}},created:function(){var e=this;l["a"].$on("global_theme",(function(n){e.style=n}))}},b=p,s=t("2877"),m=Object(s["a"])(b,d,f,!1,null,null,null),k=m.exports,g=t("2f62"),v=t("852e"),y=t.n(v);c["default"].use(g["a"]);var w=new g["a"].Store({state:{authToken:y.a.get("authToken")||""},mutations:{},actions:{}}),S=w,I=t("8c4f");c["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-0434290e").then(t.bind(null,"d9b8"))},meta:{title:"整体页面布局"},redirect:"/test1",children:[{path:"/test1",component:function(){return t.e("chunk-0aea9f38").then(t.bind(null,"fbdf"))},meta:{title:"一级菜单1"},redirect:"/test1/index",children:[{path:"test1-1",component:function(){return t.e("chunk-62f20984").then(t.bind(null,"1119"))},meta:{title:"二级菜单1-1"}},{path:"test1-2",component:function(){return t.e("chunk-1b263039").then(t.bind(null,"e77a"))},meta:{title:"二级菜单1-2"}},{path:"test1-3",component:function(){return t.e("chunk-2d22d97c").then(t.bind(null,"f7c8"))},meta:{title:"二级菜单1-3"}},{path:"test1-4",component:function(){return t.e("chunk-2d21e38a").then(t.bind(null,"d547"))},meta:{title:"二级菜单1-4"}},{path:"test1-5",component:function(){return t.e("chunk-2d0f0a4a").then(t.bind(null,"9cf0"))},meta:{title:"二级菜单1-5"}},{path:"AnalysisMain",meta:{title:"分析"},component:function(){return t.e("chunk-55b60b98").then(t.bind(null,"5ea5"))}},{path:"index",meta:{title:"分析"},component:function(){return t.e("chunk-49b10b59").then(t.bind(null,"1e4b"))}},{path:"AboutMachine",name:"AboutMachine",meta:{title:"关于本机"},component:function(){return t.e("chunk-584a0fa2").then(t.bind(null,"6f10"))}},{path:"network",name:"network",meta:{title:"网络"},component:function(){return t.e("chunk-4ae3cf3e").then(t.bind(null,"07d3"))}},{path:"VPN",name:"VPN",meta:{title:"VPN"},component:function(){return t.e("chunk-4bbdb4f2").then(t.bind(null,"19f8"))}},{path:"CustomOperations",name:"CustomOperations",meta:{title:"自定义操作"},component:function(){return t.e("chunk-281234dd").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-584a0fa2").then(t.bind(null,"6f10"))}},{path:"network",name:"network",meta:{title:"网络"},component:function(){return t.e("chunk-4ae3cf3e").then(t.bind(null,"07d3"))}},{path:"VPN",name:"VPN",meta:{title:"VPN"},component:function(){return t.e("chunk-4bbdb4f2").then(t.bind(null,"19f8"))}},{path:"CustomOperations",name:"CustomOperations",meta:{title:"自定义操作"},component:function(){return t.e("chunk-281234dd").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-2ceddf2c").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-1a3fca50").then(t.bind(null,"2024"))}},{path:"globalSettings",name:"globalSettings",meta:{title:"全局设置"},component:function(){return t.e("chunk-65c92748").then(t.bind(null,"d3b4"))}},{path:"ExportingSettings",name:"ExportingSettings",meta:{title:"关于本机——导出设置"},component:function(){return t.e("chunk-d1ef54fc").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-f03ccc3a").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-687d6e08").then(t.bind(null,"8354"))}},{path:"logs",name:"logs",meta:{title:"通知/日志"},component:function(){return t.e("chunk-2126896d").then(t.bind(null,"61a9"))}}]},{path:"/test2",component:function(){return t.e("chunk-032204d4").then(t.bind(null,"05cd"))},meta:{title:"一级菜单2"},redirect:"/test2/test2-1",children:[{path:"test2-1",component:function(){return t.e("chunk-2d0da720").then(t.bind(null,"6c41"))},meta:{title:"二级菜单2-1"}},{path:"test2-2",component:function(){return t.e("chunk-696e1893").then(t.bind(null,"4621"))},meta:{title:"二级菜单2-2"}},{path:"test2-3",component:function(){return t.e("chunk-a63e69c0").then(t.bind(null,"6227"))},meta:{title:"二级菜单2-3"}}]},{path:"/test3",component:function(){return t.e("chunk-2a01cf36").then(t.bind(null,"0325"))},meta:{title:"一级菜单3"},redirect:"/test3/test3-1",children:[{path:"test3-1",component:function(){return t.e("chunk-2d20f595").then(t.bind(null,"b2f5"))},meta:{title:"二级菜单3-1"}},{path:"test3-2",component:function(){return t.e("chunk-2d225de7").then(t.bind(null,"e5de"))},meta:{title:"二级菜单3-2"}}]},{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"}]}),O=t("313e"),E=t.n(O),x=t("a925"),A={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 N(e){var n=parseInt(e),t=0,c=0,a=0,u="";return e<60?u=n+" 秒 ":(n>=60&&(t=parseInt(n/60),n=parseInt(n%60),t>=60&&(c=parseInt(t/60),t=parseInt(t%60),c>=24&&(a=parseInt(c/24),c=parseInt(c%24)))),n>0&&(u=n+" 秒 "),t>0&&(u=t+" 分钟 "+u),c>0&&(u=parseInt(c)+" 小时 "+u),a>0&&(u=parseInt(a)+" 天 "+u)),u}t("db4d"),t("5aea"),t("f532");c["default"].use(u.a),c["default"].use(o.a),c["default"].use(x["a"]);var _=new x["a"]({locale:"zh",messages:A});c["default"].prototype.$axios=h.a,c["default"].prototype.$echarts=E.a,c["default"].prototype.$formatSeconds=N,Array.prototype.pushNoRepeat=function(){for(var e=0;e<arguments.length;e++){var n=arguments[e];-1==this.indexOf(n)&&this.push(n)}},c["default"].config.productionTip=!1,C.beforeEach((function(e,n,t){document.title="".concat(e.meta.title," | 后台管理系统");var a=localStorage.getItem("ms_username");a||"/Login"===e.path?e.meta.permission?"admin"===a?t():t("/403"):navigator.userAgent.indexOf("MSIE")>-1?c["default"].prototype.$alert("vue-quill-editor组件不兼容IE10及以下浏览器,请使用更高版本的浏览器查看","浏览器不兼容通知",{confirmButtonText:"确定"}):t():t("/Login")})),new c["default"]({el:"#app",router:C,store:S,i18n:_,render:function(e){return e(k)}})},"5aea":function(e,n,t){},d8ad:function(e,n,t){"use strict";var c=t("2b0e"),a=new c["default"];n["a"]=a},f532:function(e,n,t){}});
|
||
//# sourceMappingURL=app.ddc546a4.js.map
|