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],i=n[1],l=n[2],h=0,f=[];h<o.length;h++)a=o[h],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&f.push(r[a][0]),r[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 u.push.apply(u,l||[]),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=i(i.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-0cbcaa56":"114d39a7","chunk-0f6801be":"02751f94","chunk-288420ae":"01dbede2","chunk-35db73ce":"a3585c34","chunk-5c4e4e5e":"96b6dca7","chunk-698f0f68":"a0f8050b","chunk-75426f71":"aa7e65a8","chunk-0050b7a0":"55e2f736","chunk-253ca5b0":"37e2e0e1","chunk-4f15b41a":"059677d1","chunk-7529a615":"a6b91ae6","chunk-a3ddd952":"ad97c910","chunk-d98e057e":"6df199dd"}[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-0cbcaa56":1,"chunk-0f6801be":1,"chunk-288420ae":1,"chunk-35db73ce":1,"chunk-5c4e4e5e":1,"chunk-698f0f68":1,"chunk-75426f71":1,"chunk-0050b7a0":1,"chunk-253ca5b0":1,"chunk-4f15b41a":1,"chunk-7529a615":1,"chunk-a3ddd952":1,"chunk-d98e057e":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-0f6801be":"5b16ca29","chunk-288420ae":"363cf34f","chunk-35db73ce":"1f9c10ff","chunk-5c4e4e5e":"6bab9f78","chunk-698f0f68":"96d82e53","chunk-75426f71":"902ebb66","chunk-0050b7a0":"29a99b3a","chunk-253ca5b0":"e94ab248","chunk-4f15b41a":"2cf53495","chunk-7529a615":"00296464","chunk-a3ddd952":"902ebb66","chunk-d98e057e":"1d268c2c"}[e]+".css",r=i.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var l=u[o],h=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(h===c||h===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){l=f[o],h=l.getAttribute("data-href");if(h===c||h===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 l,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=o(e);var f=new Error;l=function(n){h.onerror=h.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;f.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",f.name="ChunkLoadError",f.type=c,f.request=a,t[1](f)}r[e]=void 0}};var d=setTimeout((function(){l({type:"timeout",target:h})}),12e4);h.onerror=h.onload=l,document.head.appendChild(h)}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 l=window["webpackJsonp"]=window["webpackJsonp"]||[],h=l.push.bind(l);l.push=n,l=l.slice();for(var f=0;f<l.length;f++)n(l[f]);var d=h;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,i=t("2877"),l=Object(i["a"])(o,a,r,!1,null,null,null),h=l.exports,f=(t("b0c0"),t("8c4f"));c["default"].use(f["a"]);var d=function(){return new f["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 b=new k["a"].Store({state:{},mutations:{},actions:{},modules:{}}),m=t("5c96"),v=t.n(m),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-7529a615")]).then(t.bind(null,"ca1e"))},meta:{keepAlive:!0}},{path:"GOODS_TYPE",name:"商品种类",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-698f0f68")]).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-0f6801be")]).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-0050b7a0")]).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-5c4e4e5e")]).then(t.bind(null,"faa7"))}},{path:"GOODS_LOG",name:"商品记录",component:function(){return Promise.all([t.e("chunk-63c1eac8"),t.e("chunk-d98e057e")]).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-253ca5b0")]).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:b,render:function(e){return e(h)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,t){}});
|
|
//# sourceMappingURL=app.728c36ae.js.map
|