app.067a2bfc.js 9.5 KB
(function(e){function n(n){for(var c,a,o=n[0],i=n[1],h=n[2],l=0,f=[];l<o.length;l++)a=o[l],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]);d&&d(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+"js/"+({}[e]||e)+"."+{"chunk-221c179a":"9e9f379f","chunk-0446d63e":"7a26323a","chunk-30a50070":"f4c82238","chunk-41fd3402":"1bf36c05","chunk-47f280c0":"241cb210","chunk-599f3720":"163b4f0a","chunk-5bc6ae3c":"6ddad728","chunk-606266ab":"01c2c8c1","chunk-742c1e54":"51075742","chunk-7bdd6bee":"e85b43ff","chunk-89e98cbe":"0b4ab741","chunk-a3700726":"88255272","chunk-a5f0b334":"b88daeb3","chunk-097334a8":"c9663f8c","chunk-2d10bb15":"fd2ee356","chunk-d88afc64":"2b18c87a","chunk-d8bf3f88":"43059b9d"}[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-221c179a":1,"chunk-0446d63e":1,"chunk-30a50070":1,"chunk-41fd3402":1,"chunk-47f280c0":1,"chunk-599f3720":1,"chunk-5bc6ae3c":1,"chunk-606266ab":1,"chunk-742c1e54":1,"chunk-7bdd6bee":1,"chunk-89e98cbe":1,"chunk-a3700726":1,"chunk-a5f0b334":1,"chunk-097334a8":1,"chunk-2d10bb15":1,"chunk-d88afc64":1,"chunk-d8bf3f88":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-221c179a":"005da308","chunk-0446d63e":"7e8d8cf7","chunk-30a50070":"34aa746e","chunk-41fd3402":"8577b603","chunk-47f280c0":"2659bd0c","chunk-599f3720":"3271679b","chunk-5bc6ae3c":"ebe8e32e","chunk-606266ab":"81bc480c","chunk-742c1e54":"e557c663","chunk-7bdd6bee":"0e77c972","chunk-89e98cbe":"0f405a09","chunk-a3700726":"0fc48d19","chunk-a5f0b334":"6e458456","chunk-097334a8":"83af0261","chunk-2d10bb15":"01dd0c1f","chunk-d88afc64":"56dfe858","chunk-d8bf3f88":"f215829f"}[e]+".css",u=i.p+c,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var h=r[o],l=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(l===c||l===u))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){h=f[o],l=h.getAttribute("data-href");if(l===c||l===u)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.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],d.parentNode.removeChild(d),t(r)},d.href=u;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).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,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=o(e);var f=new Error;h=function(n){l.onerror=l.onload=null,clearTimeout(d);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 d=setTimeout((function(){h({type:"timeout",target:l})}),12e4);l.onerror=l.onload=h,document.head.appendChild(l)}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"]||[],l=h.push.bind(h);h.push=n,h=h.slice();for(var f=0;f<h.length;f++)n(h[f]);var d=l;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";var c=t("85ec"),a=t.n(c);a.a},1:function(e,n){},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var c=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},u=[],r={name:"App"},o=r,i=(t("034f"),t("2877")),h=Object(i["a"])(o,a,u,!1,null,null,null),l=h.exports,f=t("8c4f"),d=f["a"].prototype.push;f["a"].prototype.push=function(e){return d.call(this,e).catch((function(e){return e}))},c["default"].use(f["a"]);var p=[{path:"/",name:"first",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-41fd3402")]).then(function(){var n=[t("a979")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/inform",name:"inform",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-606266ab")]).then(function(){var n=[t("0ad6")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/information",name:"information",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-a3700726")]).then(function(){var n=[t("9d24")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/curriculum",name:"curriculum",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-d88afc64")]).then(function(){var n=[t("f18c")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/details",name:"details",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-7bdd6bee")]).then(function(){var n=[t("7266")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/learn",name:"learn",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-30a50070")]).then(function(){var n=[t("a167")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/system",name:"system",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-47f280c0")]).then(function(){var n=[t("bb1c")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/profile",name:"profile",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-a5f0b334"),t.e("chunk-097334a8")]).then(function(){var n=[t("3412")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/lecturer",name:"lecturer",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-5bc6ae3c")]).then(function(){var n=[t("83a3")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/certificate",name:"certificate",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-d8bf3f88")]).then(function(){var n=[t("c3c0")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/exam",name:"exam",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-89e98cbe")]).then(function(){var n=[t("2203")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/answer",name:"answer",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-0446d63e")]).then(function(){var n=[t("45c2")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/policy",name:"policy",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-742c1e54")]).then(function(){var n=[t("23c7")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{hidden:!0,title:"精工筑匠"}},{path:"/policyation",name:"policyation",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-599f3720")]).then(function(){var n=[t("3b67")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/train",name:"train",component:function(e){return Promise.all([t.e("chunk-221c179a"),t.e("chunk-a5f0b334"),t.e("chunk-2d10bb15")]).then(function(){var n=[t("3e50")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/dingbu",name:"dingbu",component:function(e){return t.e("chunk-221c179a").then(function(){var n=[t("17f9")];e.apply(null,n)}.bind(this)).catch(t.oe)}}],s=new f["a"]({routes:p}),m=s,b=t("2f62");c["default"].use(b["a"]);var k=new b["a"].Store({state:{},mutations:{},actions:{},modules:{}}),v=(t("d3b7"),t("4328"),t("bc3a")),y=t.n(v);function g(e,n,t){return new Promise((function(c,a){y.a.post(e,n).then((function(e){200===e.status&&(1!==e.data.code&&t&&document.body.clientWidth,c(e.data))})).catch((function(e){}))}))}c["default"].prototype.$http=y.a,y.a.defaults.timeout=6e3,y.a.defaults.baseURL="/api/",y.a.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),y.a.interceptors.response.use((function(e){return e}),(function(e){return console.log(e),e.response?Promise.resolve(e):Promise.reject(e.response.data)}));var P=t("7212"),w=t.n(P),j=(t("bbe3"),t("5c96")),O=t.n(j);t("0fae");var S=t("7e79"),E=t.n(S),_=t("f0e2");t("fda2");c["default"].prototype.$uploadFile=void 0,c["default"].use(E.a),localStorage.getItem("token")&&(y.a.defaults.headers.common["token"]=localStorage.getItem("token")),m.beforeEach((function(e,n,t){e.meta.title&&(document.title=e.meta.title),t()})),c["default"].use(O.a),c["default"].use(w.a),c["default"].prototype.post=g,c["default"].config.productionTip=!1,c["default"].prototype.$video=_["a"],new c["default"]({router:m,store:k,render:function(e){return e(l)}}).$mount("#app")},"85ec":function(e,n,t){}});
//# sourceMappingURL=app.067a2bfc.js.map