erp/public/dist/js/app.64b5d689.js

2 lines
8.1 KiB
JavaScript
Vendored

(function(e){function n(n){for(var t,u,o=n[0],h=n[1],d=n[2],f=0,l=[];f<o.length;f++)u=o[f],Object.prototype.hasOwnProperty.call(a,u)&&a[u]&&l.push(a[u][0]),a[u]=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,d||[]),c()}function c(){for(var e,n=0;n<r.length;n++){for(var c=r[n],t=!0,u=1;u<c.length;u++){var o=c[u];0!==a[o]&&(t=!1)}t&&(r.splice(n--,1),e=h(h.s=c[0]))}return e}var t={},u={app:0},a={app:0},r=[];function o(e){return h.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-088acbde":"08d60870","chunk-0cbcaa56":"46e3dd42","chunk-0f6f9608":"cdc3788a","chunk-26daa808":"9e326ce2","chunk-35db73ce":"ae2590c3","chunk-4caed774":"d65d1796","chunk-52fcdd7c":"0070e388","chunk-6ae0a0d3":"ee4aa3e0","chunk-75426f71":"128f599c","chunk-10d9ee19":"6bc719ae","chunk-743f0316":"503949a4","chunk-f0b6f0d4":"e264ca96","chunk-f35dfe36":"e7038b09","chunk-904e5abc":"e6a5edbe","chunk-a3ddd952":"0482ce75","chunk-ab4d3e40":"078de018","chunk-e35186f0":"055dd015"}[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};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[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",a=h.p+t,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var d=r[o],f=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===t||f===a))return n()}var l=document.getElementsByTagName("style");for(o=0;o<l.length;o++){d=l[o],f=d.getAttribute("data-href");if(f===t||f===a)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||a,r=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=t,delete u[e],i.parentNode.removeChild(i),c(r)},i.href=a;var k=document.getElementsByTagName("head")[0];k.appendChild(i)})).then((function(){u[e]=0})));var t=a[e];if(0!==t)if(t)n.push(t[2]);else{var r=new Promise((function(n,c){t=a[e]=[n,c]}));n.push(t[2]=r);var d,f=document.createElement("script");f.charset="utf-8",f.timeout=120,h.nc&&f.setAttribute("nonce",h.nc),f.src=o(e);var l=new Error;d=function(n){f.onerror=f.onload=null,clearTimeout(i);var c=a[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+t+": "+u+")",l.name="ChunkLoadError",l.type=t,l.request=u,c[1](l)}a[e]=void 0}};var i=setTimeout((function(){d({type:"timeout",target:f})}),12e4);f.onerror=f.onload=d,document.head.appendChild(f)}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 d=window["webpackJsonp"]=window["webpackJsonp"]||[],f=d.push.bind(d);d.push=n,d=d.slice();for(var l=0;l<d.length;l++)n(d[l]);var i=f;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"),u=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)},a=[],r={},o=r,h=c("2877"),d=Object(h["a"])(o,u,a,!1,null,null,null),f=d.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,s=c("2f62");t["default"].use(s["a"]);var b=new s["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:b,render:function(e){return e(f)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,c){}});
//# sourceMappingURL=app.64b5d689.js.map