2 lines
7.8 KiB
JavaScript
Vendored
2 lines
7.8 KiB
JavaScript
Vendored
(function(e){function n(n){for(var t,a,o=n[0],f=n[1],h=n[2],l=0,i=[];l<o.length;l++)a=o[l],Object.prototype.hasOwnProperty.call(u,a)&&u[a]&&i.push(u[a][0]),u[a]=0;for(t in f)Object.prototype.hasOwnProperty.call(f,t)&&(e[t]=f[t]);d&&d(n);while(i.length)i.shift()();return r.push.apply(r,h||[]),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=f(f.s=c[0]))}return e}var t={},a={app:0},u={app:0},r=[];function o(e){return f.p+"js/"+({}[e]||e)+"."+{"chunk-63c1eac8":"59f3df74","chunk-0cbcaa56":"46e3dd42","chunk-0f6f9608":"540fa080","chunk-26daa808":"a340b60b","chunk-3263e44c":"eebefad0","chunk-35db73ce":"e1ffc5fa","chunk-4caed774":"92751344","chunk-52fcdd7c":"0f505f93","chunk-6ae0a0d3":"b08743d0","chunk-75426f71":"1a12b5c7","chunk-10d9ee19":"6bc719ae","chunk-38b35ffa":"6daa44bc","chunk-4f15b41a":"8943bdec","chunk-f35dfe36":"e7038b09","chunk-7e4f04a0":"837edc19","chunk-904e5abc":"57158e02","chunk-a3ddd952":"dc1ed0be"}[e]+".js"}function f(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,f),c.l=!0,c.exports}f.e=function(e){var n=[],c={"chunk-0cbcaa56":1,"chunk-0f6f9608":1,"chunk-26daa808":1,"chunk-3263e44c":1,"chunk-35db73ce":1,"chunk-4caed774":1,"chunk-52fcdd7c":1,"chunk-6ae0a0d3":1,"chunk-75426f71":1,"chunk-10d9ee19":1,"chunk-38b35ffa":1,"chunk-4f15b41a":1,"chunk-f35dfe36":1,"chunk-7e4f04a0":1,"chunk-904e5abc":1,"chunk-a3ddd952":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-0cbcaa56":"e05858e7","chunk-0f6f9608":"b3153d73","chunk-26daa808":"62429343","chunk-3263e44c":"902ebb66","chunk-35db73ce":"1f9c10ff","chunk-4caed774":"ad94328f","chunk-52fcdd7c":"51e3ffbd","chunk-6ae0a0d3":"84a02b23","chunk-75426f71":"902ebb66","chunk-10d9ee19":"84a6683c","chunk-38b35ffa":"1005fa16","chunk-4f15b41a":"2cf53495","chunk-f35dfe36":"ea52b615","chunk-7e4f04a0":"902ebb66","chunk-904e5abc":"902ebb66","chunk-a3ddd952":"902ebb66"}[e]+".css",u=f.p+t,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===t||l===u))return n()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){h=i[o],l=h.getAttribute("data-href");if(l===t||l===u)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.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],d.parentNode.removeChild(d),c(r)},d.href=u;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).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 h,l=document.createElement("script");l.charset="utf-8",l.timeout=120,f.nc&&l.setAttribute("nonce",f.nc),l.src=o(e);var i=new Error;h=function(n){l.onerror=l.onload=null,clearTimeout(d);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;i.message="Loading chunk "+e+" failed.\n("+t+": "+a+")",i.name="ChunkLoadError",i.type=t,i.request=a,c[1](i)}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)},f.m=e,f.c=t,f.d=function(e,n,c){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},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 c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)f.d(c,t,function(n){return e[n]}.bind(null,t));return c},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 h=window["webpackJsonp"]=window["webpackJsonp"]||[],l=h.push.bind(h);h.push=n,h=h.slice();for(var i=0;i<h.length;i++)n(h[i]);var d=l;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,f=c("2877"),h=Object(f["a"])(o,a,u,!1,null,null,null),l=h.exports,i=(c("b0c0"),c("8c4f"));t["default"].use(i["a"]);var d=function(){return new i["a"]({scrollBehavior:function(){return{y:0}}})},p=d();p.beforeEach((function(e,n,c){var t=localStorage.getItem("token");"Login"===e.name||t?c():c({name:"Login"})}));var k=p,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),g=(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-38b35ffa")]).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-4f15b41a")]).then(c.bind(null,"379e"))}},{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-3263e44c")]).then(c.bind(null,"c3b4"))}},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:function(){return Promise.all([c.e("chunk-63c1eac8"),c.e("chunk-7e4f04a0")]).then(c.bind(null,"6273"))}}]}]),O=g;O.forEach((function(e){k.addRoute(e)})),t["default"].use(v.a),t["default"].config.productionTip=!1,new t["default"]({router:k,store:b,render:function(e){return e(l)}}).$mount("#app"),document.title="春分ERP-鲜花"},f33e:function(e,n,c){}});
|
|
//# sourceMappingURL=app.71d94a18.js.map
|