erp/public/dist/js/app.a0140b01.js

2 lines
8.1 KiB
JavaScript
Vendored

(function(e){function n(n){for(var t,a,o=n[0],h=n[1],f=n[2],d=0,l=[];d<o.length;d++)a=o[d],Object.prototype.hasOwnProperty.call(u,a)&&u[a]&&l.push(u[a][0]),u[a]=0;for(t in h)Object.prototype.hasOwnProperty.call(h,t)&&(e[t]=h[t]);i&&i(n);while(l.length)l.shift()();return r.push.apply(r,f||[]),c()}function c(){for(var e,n=0;n<r.length;n++){for(var c=r[n],t=!0,a=1;a<c.length;a++){var o=c[a];0!==u[o]&&(t=!1)}t&&(r.splice(n--,1),e=h(h.s=c[0]))}return e}var t={},a={app:0},u={app:0},r=[];function o(e){return h.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-088acbde":"d8a3ec83","chunk-0cbcaa56":"46e3dd42","chunk-0f6f9608":"540fa080","chunk-26daa808":"a340b60b","chunk-35db73ce":"e1ffc5fa","chunk-4caed774":"92751344","chunk-52fcdd7c":"0f505f93","chunk-6ae0a0d3":"b08743d0","chunk-75426f71":"1a12b5c7","chunk-10d9ee19":"6bc719ae","chunk-743f0316":"503949a4","chunk-f0b6f0d4":"e264ca96","chunk-f35dfe36":"e7038b09","chunk-904e5abc":"3cea2bdf","chunk-a3ddd952":"dc1ed0be","chunk-ab4d3e40":"1f5f6d89","chunk-e35186f0":"8d8d124a"}[e]+".js"}function h(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,h),c.l=!0,c.exports}h.e=function(e){var n=[],c={"chunk-088acbde":1,"chunk-0cbcaa56":1,"chunk-0f6f9608":1,"chunk-26daa808":1,"chunk-35db73ce":1,"chunk-4caed774":1,"chunk-52fcdd7c":1,"chunk-6ae0a0d3":1,"chunk-75426f71":1,"chunk-10d9ee19":1,"chunk-743f0316":1,"chunk-f0b6f0d4":1,"chunk-f35dfe36":1,"chunk-904e5abc":1,"chunk-a3ddd952":1,"chunk-ab4d3e40":1,"chunk-e35186f0":1};a[e]?n.push(a[e]):0!==a[e]&&c[e]&&n.push(a[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-63c1eac8":"31d6cfe0","chunk-088acbde":"902ebb66","chunk-0cbcaa56":"e05858e7","chunk-0f6f9608":"b3153d73","chunk-26daa808":"62429343","chunk-35db73ce":"1f9c10ff","chunk-4caed774":"ad94328f","chunk-52fcdd7c":"51e3ffbd","chunk-6ae0a0d3":"84a02b23","chunk-75426f71":"902ebb66","chunk-10d9ee19":"84a6683c","chunk-743f0316":"fb5066fb","chunk-f0b6f0d4":"a3b83cc4","chunk-f35dfe36":"ea52b615","chunk-904e5abc":"902ebb66","chunk-a3ddd952":"902ebb66","chunk-ab4d3e40":"d941d6ef","chunk-e35186f0":"902ebb66"}[e]+".css",u=h.p+t,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var f=r[o],d=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(d===t||d===u))return n()}var l=document.getElementsByTagName("style");for(o=0;o<l.length;o++){f=l[o],d=f.getAttribute("data-href");if(d===t||d===u)return n()}var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onload=n,i.onerror=function(n){var t=n&&n.target&&n.target.src||u,r=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=t,delete a[e],i.parentNode.removeChild(i),c(r)},i.href=u;var k=document.getElementsByTagName("head")[0];k.appendChild(i)})).then((function(){a[e]=0})));var t=u[e];if(0!==t)if(t)n.push(t[2]);else{var r=new Promise((function(n,c){t=u[e]=[n,c]}));n.push(t[2]=r);var f,d=document.createElement("script");d.charset="utf-8",d.timeout=120,h.nc&&d.setAttribute("nonce",h.nc),d.src=o(e);var l=new Error;f=function(n){d.onerror=d.onload=null,clearTimeout(i);var c=u[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+t+": "+a+")",l.name="ChunkLoadError",l.type=t,l.request=a,c[1](l)}u[e]=void 0}};var i=setTimeout((function(){f({type:"timeout",target:d})}),12e4);d.onerror=d.onload=f,document.head.appendChild(d)}return Promise.all(n)},h.m=e,h.c=t,h.d=function(e,n,c){h.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},h.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.t=function(e,n){if(1&n&&(e=h(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(h.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)h.d(c,t,function(n){return e[n]}.bind(null,t));return c},h.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return h.d(n,"a",n),n},h.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},h.p="",h.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],d=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var i=d;r.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("2b0e"),a=function(){var e=this,n=e.$createElement,c=e._self._c||n;return c("div",{attrs:{id:"app"}},[c("keep-alive",[e.$route.meta.keepAlive?c("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():c("router-view")],1)},u=[],r={},o=r,h=c("2877"),f=Object(h["a"])(o,a,u,!1,null,null,null),d=f.exports,l=(c("b0c0"),c("8c4f"));t["default"].use(l["a"]);var i=function(){return new l["a"]({scrollBehavior:function(){return{y:0}}})},k=i();k.beforeEach((function(e,n,c){var t=localStorage.getItem("token");"Login"===e.name||t?c():c({name:"Login"})}));var p=k,b=c("2f62");t["default"].use(b["a"]);var s=new b["a"].Store({state:{},mutations:{},actions:{},modules:{}}),m=c("5c96"),v=c.n(m),O=(c("0fae"),c("f33e"),c("159b"),c("d3b7"),c("3ca3"),c("ddb0"),[{path:"/Login",name:"Login",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-0cbcaa56")]).then(c.bind(null,"a55b"))}},{path:"/",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-4caed774")]).then(c.bind(null,"1e4b"))},children:[{path:"GOODS_LIST",name:"商品列表",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-f0b6f0d4")]).then(c.bind(null,"ca1e"))},meta:{keepAlive:!0}},{path:"GOODS_TYPE",name:"商品种类",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-26daa808")]).then(c.bind(null,"f6ea"))}},{path:"GOODS_BRAND",name:"商品品牌",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-35db73ce")]).then(c.bind(null,"be26"))}},{path:"SHOP_MANAGE",name:"店铺管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-0f6f9608")]).then(c.bind(null,"3e63"))}},{path:"USER_MANAGE",name:"用户管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-f35dfe36")]).then(c.bind(null,"6355"))}},{path:"ROLE_MANAGE",name:"角色管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-a3ddd952")]).then(c.bind(null,"f982"))}},{path:"SYSTEM_LOG",name:"系统日志",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-52fcdd7c")]).then(c.bind(null,"faa7"))}},{path:"GOODS_LOG",name:"商品记录",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-6ae0a0d3")]).then(c.bind(null,"1300"))}},{path:"ADDGOODS",name:"新建商品",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-743f0316")]).then(c.bind(null,"379e"))}},{path:"EDIT_GOODS",name:"修改商品规格",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-ab4d3e40")]).then(c.bind(null,"f3ed"))}},{path:"/",redirect:"GOODS_LIST"},{path:"PLAT_GOODS_LIST",name:"货品列表",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-75426f71"),c.e("chunk-10d9ee19")]).then(c.bind(null,"106d"))}},{path:"GROUP_MANAGEMENT",name:"团购管理",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-904e5abc")]).then(c.bind(null,"548e"))}},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-e35186f0")]).then(c.bind(null,"c3b4"))}},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-088acbde")]).then(c.bind(null,"6273"))}}]}]),g=O;g.forEach((function(e){p.addRoute(e)})),t["default"].use(v.a),t["default"].config.productionTip=!1,new t["default"]({router:p,store:s,render:function(e){return e(d)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,c){}});
//# sourceMappingURL=app.a0140b01.js.map