app.439b4fe5.js 11 KB

12
  1. (function(e){function n(n){for(var a,c,o=n[0],i=n[1],f=n[2],h=0,d=[];h<o.length;h++)c=o[h],Object.prototype.hasOwnProperty.call(u,c)&&u[c]&&d.push(u[c][0]),u[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);l&&l(n);while(d.length)d.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+"js/"+({}[e]||e)+"."+{"chunk-0669d765":"a16fb41b","chunk-0e9b794e":"49941033","chunk-15fe3368":"2a92da13","chunk-2d0cf360":"4520d533","chunk-2d230678":"2fcd4783","chunk-38b8bbf0":"fa9cc9ea","chunk-272df60e":"7be96026","chunk-4c3a7980":"a154b8b1","chunk-5d8102d7":"b5bcee94","chunk-66e5ffae":"c337aefb","chunk-95c0f810":"9920b8f7","chunk-51bc0bf6":"baba2665","chunk-714a3a3e":"c6f1e425","chunk-d7938896":"f4d2510c","chunk-f0d2e2d8":"5696c309","chunk-23512534":"97f5b24d","chunk-bb74f086":"9764cb32","chunk-39a2b31e":"1e23158e","chunk-a7b27434":"4a1ec257","chunk-48d77be5":"845d19bd","chunk-5748d174":"74bddecb","chunk-c12b3174":"471a4fa0","chunk-10d9407b":"bc6264ee","chunk-50bf5053":"62091fb1","chunk-babe08ce":"72cd0fd5","chunk-5a16cec2":"7f551007","chunk-0ef61f6e":"d4a7955a","chunk-4876201d":"cba86c43","chunk-5375b83c":"7faa1abd","chunk-a2c9752a":"df38aac9","chunk-a6f0a4e8":"765dc835","chunk-1a2ed19f":"f616b090","chunk-35eff6d8":"47e4a82a","chunk-52f08b3a":"1fec00c6","chunk-dc1d979a":"231485c5","chunk-11d7e5e0":"4354d247","chunk-09e5b99e":"24a7cedc","chunk-0b9a8692":"b800cdba"}[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-0669d765":1,"chunk-0e9b794e":1,"chunk-15fe3368":1,"chunk-272df60e":1,"chunk-4c3a7980":1,"chunk-5d8102d7":1,"chunk-66e5ffae":1,"chunk-95c0f810":1,"chunk-51bc0bf6":1,"chunk-714a3a3e":1,"chunk-d7938896":1,"chunk-f0d2e2d8":1,"chunk-23512534":1,"chunk-bb74f086":1,"chunk-39a2b31e":1,"chunk-a7b27434":1,"chunk-48d77be5":1,"chunk-5748d174":1,"chunk-c12b3174":1,"chunk-10d9407b":1,"chunk-babe08ce":1,"chunk-5a16cec2":1,"chunk-0ef61f6e":1,"chunk-4876201d":1,"chunk-5375b83c":1,"chunk-a2c9752a":1,"chunk-a6f0a4e8":1,"chunk-1a2ed19f":1,"chunk-35eff6d8":1,"chunk-52f08b3a":1,"chunk-dc1d979a":1,"chunk-11d7e5e0":1,"chunk-09e5b99e":1,"chunk-0b9a8692":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-0669d765":"e3f50608","chunk-0e9b794e":"fc9817e3","chunk-15fe3368":"626ef987","chunk-2d0cf360":"31d6cfe0","chunk-2d230678":"31d6cfe0","chunk-38b8bbf0":"31d6cfe0","chunk-272df60e":"82caf996","chunk-4c3a7980":"75bb9020","chunk-5d8102d7":"32997b36","chunk-66e5ffae":"7f6917fb","chunk-95c0f810":"b45b6c37","chunk-51bc0bf6":"593d4ef9","chunk-714a3a3e":"c7c001c1","chunk-d7938896":"28b2725f","chunk-f0d2e2d8":"95061155","chunk-23512534":"f5357a65","chunk-bb74f086":"a0a79b70","chunk-39a2b31e":"f1bf0b2a","chunk-a7b27434":"4bc6a133","chunk-48d77be5":"dc0dae53","chunk-5748d174":"719de395","chunk-c12b3174":"3fa1091a","chunk-10d9407b":"769d5412","chunk-50bf5053":"31d6cfe0","chunk-babe08ce":"9f382803","chunk-5a16cec2":"9f382803","chunk-0ef61f6e":"17d66490","chunk-4876201d":"808bf011","chunk-5375b83c":"6adcfe6f","chunk-a2c9752a":"5f2dd49b","chunk-a6f0a4e8":"4bd731ac","chunk-1a2ed19f":"a1132b2e","chunk-35eff6d8":"ef5b0fa6","chunk-52f08b3a":"b5bc4844","chunk-dc1d979a":"b29fcb43","chunk-11d7e5e0":"a217e4e9","chunk-09e5b99e":"ad48c20d","chunk-0b9a8692":"eb49efda"}[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 d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){f=d[o],h=f.getAttribute("data-href");if(h===a||h===u)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.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],l.parentNode.removeChild(l),t(r)},l.href=u;var b=document.getElementsByTagName("head")[0];b.appendChild(l)})).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 d=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(l);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;d.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",d.name="ChunkLoadError",d.type=a,d.request=c,t[1](d)}u[e]=void 0}};var l=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 d=0;d<f.length;d++)n(f[d]);var l=h;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},2395:function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var a=t("2b0e"),c=(t("d3b7"),t("bc3a")),u=t.n(c);u.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded";var r={baseURL:"http://192.168.2.45:2727"},o=u.a.create(r);o.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),o.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),Plugin.install=function(e,n){e.axios=o,window.axios=o,Object.defineProperties(e.prototype,{axios:{get:function(){return o}},$axios:{get:function(){return o}}})},a["default"].use(Plugin);Plugin;var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},f=[],h=(t("7c55"),t("2877")),d={},l=Object(h["a"])(d,i,f,!1,null,null,null),b=l.exports,k=(t("3ca3"),t("ddb0"),t("8c4f")),s=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("Basic",[t("div",{staticClass:"home"},[t("el-tabs",{on:{"tab-click":e.RouterLink},model:{value:e.activeName,callback:function(n){e.activeName=n},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"首页",name:"0"}}),t("el-tab-pane",{attrs:{label:"知识库",name:"1"}}),t("el-tab-pane",{attrs:{label:"习题练习",name:"2"}}),t("el-tab-pane",{attrs:{label:"模拟考试",name:"3"}}),t("el-tab-pane",{attrs:{label:"正式考试",name:"4"}}),t("el-tab-pane",{attrs:{label:"考试记录",name:"5"}}),t("el-tab-pane",{attrs:{label:"错题集",name:"6"}})],1),t("div",{staticClass:"content"},[t("keep-alive",[e.$route.meta.keepAlive?t("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():t("router-view")],1)],1)])},m=[],p=(t("ac1f"),t("5319"),t("25f0"),function(){return t.e("chunk-714a3a3e").then(t.bind(null,"d5a2"))}),v={components:{Basic:p},data:function(){return{activeName:"0",routers:["/","/knowledgebase","/practice","/mockexamination","/formalexamination","/examinationrecord","/wrongquestion"]}},methods:{RouterLink:function(){var e=this.routers,n=this.$route.path;if(n==e[this.activeName])return!1;this.$router.replace(e[this.activeName])}},created:function(){var e=this.routers,n=this.$route.path;this.activeName=e.indexOf(n).toString()},watch:{$route:function(e,n){var t=this.routers,a=e.path;this.activeName=t.indexOf(a).toString()}}},g=v,w=Object(h["a"])(g,s,m,!1,null,null,null),x=w.exports;a["default"].use(k["a"]);var y=[{path:"/",name:"Home",component:x,meta:{title:"列表页面"},children:[{path:"",name:"Index",component:function(){return t.e("chunk-15fe3368").then(t.bind(null,"2a14"))},meta:{keepAlive:!0,title:"首页"}},{path:"knowledgebase",name:"knowledgebase",component:function(){return t.e("chunk-51bc0bf6").then(t.bind(null,"fcdb"))},meta:{title:"知识库"}},{path:"practice",name:"practice",component:function(){return t.e("chunk-2d230678").then(t.bind(null,"ebaf"))},meta:{title:"习题练习"}},{path:"examinationrecord",name:"examinationrecord",component:function(){return t.e("chunk-2d0cf360").then(t.bind(null,"636c"))},meta:{title:"考试记录"}},{path:"formalexamination",name:"formalexamination",component:function(){return t.e("chunk-d7938896").then(t.bind(null,"67bd"))},meta:{title:"正式考试"}},{path:"mockexamination",name:"mockexamination",component:function(){return Promise.all([t.e("chunk-38b8bbf0"),t.e("chunk-4c3a7980")]).then(t.bind(null,"5b2d"))},meta:{title:"模拟考试"}},{path:"wrongquestion",name:"wrongquestion",component:function(){return Promise.all([t.e("chunk-38b8bbf0"),t.e("chunk-5d8102d7")]).then(t.bind(null,"06f5"))},meta:{title:"错题集"}}]},{path:"/mocktestreport",name:"Mocktestreport",component:function(){return t.e("chunk-f0d2e2d8").then(t.bind(null,"8c43"))},meta:{title:"考试报告"}},{path:"/exam",name:"Exam",component:function(){return Promise.all([t.e("chunk-38b8bbf0"),t.e("chunk-272df60e")]).then(t.bind(null,"7eeb"))},meta:{title:"习题练习页面"}},{path:"/mockexam",name:"Mockexam",component:function(){return Promise.all([t.e("chunk-38b8bbf0"),t.e("chunk-66e5ffae")]).then(t.bind(null,"5490"))},meta:{title:"模拟考试考试页面"}},{path:"/formalexam",name:"Formalexam",component:function(){return Promise.all([t.e("chunk-38b8bbf0"),t.e("chunk-95c0f810")]).then(t.bind(null,"7838"))},meta:{title:"正式考试考试页面"}},{path:"/login",name:"Login",component:function(){return t.e("chunk-0669d765").then(t.bind(null,"d9c9"))},meta:{title:"登录页面"}},{path:"*",name:"404",component:function(){return t.e("chunk-0e9b794e").then(t.bind(null,"3d4b"))},meta:{title:"404"}}],P=new k["a"]({routes:y});P.beforeEach((function(e,n,t){var a=sessionStorage.getItem("token");"/login"==e.path||a||t({path:"/login"}),t()}));var O=P,j=t("2f62");a["default"].use(j["a"]);var _=new j["a"].Store({state:{},mutations:{},actions:{},modules:{}}),E=t("5c96"),N=t.n(E),S=(t("0fae"),t("3f08"));a["default"].use(N.a),a["default"].use(S["a"].Plugin),a["default"].config.productionTip=!1,new a["default"]({router:O,store:_,render:function(e){return e(b)}}).$mount("#app")},"7c55":function(e,n,t){"use strict";t("2395")}});
  2. //# sourceMappingURL=app.439b4fe5.js.map