mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
2 lines
7.1 KiB
JavaScript
Vendored
2 lines
7.1 KiB
JavaScript
Vendored
(function(e){function n(n){for(var c,a,o=n[0],f=n[1],i=n[2],l=0,h=[];l<o.length;l++)a=o[l],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&h.push(r[a][0]),r[a]=0;for(c in f)Object.prototype.hasOwnProperty.call(f,c)&&(e[c]=f[c]);d&&d(n);while(h.length)h.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],c=!0,a=1;a<t.length;a++){var o=t[a];0!==r[o]&&(c=!1)}c&&(u.splice(n--,1),e=f(f.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return f.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-0cbcaa56":"114d39a7","chunk-26daa808":"85efde12","chunk-288420ae":"ec7d478b","chunk-35db73ce":"7759ae1a","chunk-52fcdd7c":"375e4289","chunk-6ae0a0d3":"bf1f04e5","chunk-75426f71":"2a3e20f3","chunk-10d9ee19":"a46bd74b","chunk-38b35ffa":"03231ad3","chunk-4f15b41a":"059677d1","chunk-f35dfe36":"683d24b3","chunk-a3ddd952":"97c285f6","chunk-e5a82016":"5c00a5a0"}[e]+".js"}function f(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,f),t.l=!0,t.exports}f.e=function(e){var n=[],t={"chunk-0cbcaa56":1,"chunk-26daa808":1,"chunk-288420ae":1,"chunk-35db73ce":1,"chunk-52fcdd7c":1,"chunk-6ae0a0d3":1,"chunk-75426f71":1,"chunk-10d9ee19":1,"chunk-38b35ffa":1,"chunk-4f15b41a":1,"chunk-f35dfe36":1,"chunk-a3ddd952":1,"chunk-e5a82016":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-63c1eac8":"31d6cfe0","chunk-0cbcaa56":"e05858e7","chunk-26daa808":"62429343","chunk-288420ae":"363cf34f","chunk-35db73ce":"1f9c10ff","chunk-52fcdd7c":"51e3ffbd","chunk-6ae0a0d3":"84a02b23","chunk-75426f71":"902ebb66","chunk-10d9ee19":"84a6683c","chunk-38b35ffa":"1005fa16","chunk-4f15b41a":"2cf53495","chunk-f35dfe36":"ea52b615","chunk-a3ddd952":"902ebb66","chunk-e5a82016":"e6531cef"}[e]+".css",r=f.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var i=u[o],l=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(l===c||l===r))return n()}var h=document.getElementsByTagName("style");for(o=0;o<h.length;o++){i=h[o],l=i.getAttribute("data-href");if(l===c||l===r)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||r,u=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=c,delete a[e],d.parentNode.removeChild(d),t(u)},d.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){a[e]=0})));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise((function(n,t){c=r[e]=[n,t]}));n.push(c[2]=u);var i,l=document.createElement("script");l.charset="utf-8",l.timeout=120,f.nc&&l.setAttribute("nonce",f.nc),l.src=o(e);var h=new Error;i=function(n){l.onerror=l.onload=null,clearTimeout(d);var t=r[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;h.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",h.name="ChunkLoadError",h.type=c,h.request=a,t[1](h)}r[e]=void 0}};var d=setTimeout((function(){i({type:"timeout",target:l})}),12e4);l.onerror=l.onload=i,document.head.appendChild(l)}return Promise.all(n)},f.m=e,f.c=c,f.d=function(e,n,t){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,n){if(1&n&&(e=f(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)f.d(t,c,function(n){return e[n]}.bind(null,c));return t},f.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="",f.oe=function(e){throw console.error(e),e};var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=n,i=i.slice();for(var h=0;h<i.length;h++)n(i[h]);var d=l;u.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("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("keep-alive",[e.$route.meta.keepAlive?t("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():t("router-view")],1)},r=[],u={},o=u,f=t("2877"),i=Object(f["a"])(o,a,r,!1,null,null,null),l=i.exports,h=(t("b0c0"),t("8c4f"));c["default"].use(h["a"]);var d=function(){return new h["a"]({scrollBehavior:function(){return{y:0}}})},p=d();p.beforeEach((function(e,n,t){var c=localStorage.getItem("token");"Login"===e.name||c?t():t({name:"Login"})}));var s=p,k=t("2f62");c["default"].use(k["a"]);var m=new k["a"].Store({state:{},mutations:{},actions:{},modules:{}}),b=t("5c96"),v=t.n(b),g=(t("0fae"),t("f33e"),t("159b"),t("d3b7"),t("3ca3"),t("ddb0"),[{path:"/Login",name:"Login",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-0cbcaa56")]).then(t.bind(null,"a55b"))}},{path:"/",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-288420ae")]).then(t.bind(null,"1e4b"))},children:[{path:"GOODS_LIST",name:"商品列表",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-75426f71"),t.e("chunk-38b35ffa")]).then(t.bind(null,"ca1e"))},meta:{keepAlive:!0}},{path:"GOODS_TYPE",name:"商品种类",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-26daa808")]).then(t.bind(null,"f6ea"))}},{path:"GOODS_BRAND",name:"商品品牌",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-35db73ce")]).then(t.bind(null,"be26"))}},{path:"SHOP_MANAGE",name:"店铺管理",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-e5a82016")]).then(t.bind(null,"3e63"))}},{path:"USER_MANAGE",name:"用户管理",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-75426f71"),t.e("chunk-f35dfe36")]).then(t.bind(null,"6355"))}},{path:"ROLE_MANAGE",name:"角色管理",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-a3ddd952")]).then(t.bind(null,"f982"))}},{path:"SYSTEM_LOG",name:"系统日志",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-52fcdd7c")]).then(t.bind(null,"faa7"))}},{path:"GOODS_LOG",name:"商品记录",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-6ae0a0d3")]).then(t.bind(null,"1300"))}},{path:"ADDGOODS",name:"新建商品",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-75426f71"),t.e("chunk-4f15b41a")]).then(t.bind(null,"379e"))}},{path:"/",redirect:"GOODS_LIST"},{path:"PLAT_GOODS_LIST",name:"货品列表",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-75426f71"),t.e("chunk-10d9ee19")]).then(t.bind(null,"106d"))}}]}]),O=g;O.forEach((function(e){s.addRoute(e)})),c["default"].use(v.a),c["default"].config.productionTip=!1,new c["default"]({router:s,store:m,render:function(e){return e(l)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,t){}});
|
|
//# sourceMappingURL=app.c15717ab.js.map
|