2 lines
8.3 KiB
JavaScript
2 lines
8.3 KiB
JavaScript
|
|
(function(){"use strict";var e={8392:function(e,n,t){var o=t(144),r=function(){var e=this,n=e._self._c;return n("div",{attrs:{id:"app"}},[n("keep-alive",[e.$route.meta.keepAlive?n("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view")],1)},a=[],i={},c=i,u=t(1001),l=(0,u.Z)(c,r,a,!1,null,null,null),f=l.exports,d=t(8345);o["default"].use(d.ZP);const m=()=>new d.ZP({scrollBehavior:()=>({y:0})}),s=m();s.beforeEach(((e,n,t)=>{const o=localStorage.getItem("token");"Login"===e.name||o?t():t({name:"Login"})}));var p=s,h=t(629);o["default"].use(h.ZP);var b=new h.ZP.Store({state:{},mutations:{},actions:{},modules:{}}),v=t(4720),O=t.n(v);const g=[{path:"/Login",name:"Login",component:()=>Promise.all([t.e(669),t.e(560),t.e(571)]).then(t.bind(t,6571))},{path:"/",component:()=>Promise.all([t.e(669),t.e(560),t.e(850)]).then(t.bind(t,5850)),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>Promise.all([t.e(669),t.e(560),t.e(238),t.e(262)]).then(t.bind(t,7405)),meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新建商品",component:()=>Promise.all([t.e(669),t.e(560),t.e(928)]).then(t.bind(t,5928))},{path:"EDIT_GOODS",name:"修改商品规格",component:()=>Promise.all([t.e(669),t.e(560),t.e(599)]).then(t.bind(t,3599))},{path:"/",redirect:"GOODS_LIST"},{path:"GOODS_TYPE",name:"商品种类",component:()=>Promise.all([t.e(669),t.e(523)]).then(t.bind(t,523))},{path:"GOODS_BRAND",name:"商品品牌",component:()=>Promise.all([t.e(669),t.e(361)]).then(t.bind(t,9361))},{path:"GOODS_SKU_LOCATION",name:"商品货架",component:()=>Promise.all([t.e(669),t.e(507)]).then(t.bind(t,507))},{path:"GOODS_COMBINATION",name:"组合商品",component:()=>Promise.all([t.e(669),t.e(560),t.e(238),t.e(634)]).then(t.bind(t,6679))},{path:"SHOP_MANAGE",name:"店铺管理",component:()=>Promise.all([t.e(669),t.e(348)]).then(t.bind(t,8348))},{path:"USER_MANAGE",name:"用户管理",component:()=>Promise.all([t.e(669),t.e(561)]).then(t.bind(t,8561))},{path:"ROLE_MANAGE",name:"角色管理",component:()=>Promise.all([t.e(669),t.e(637)]).then(t.bind(t,6637))},{path:"SYSTEM_LOG",name:"系统日志",component:()=>Promise.all([t.e(669),t.e(750)]).then(t.bind(t,9750))},{path:"GOODS_LOG",name:"商品记录",component:()=>Promise.all([t.e(669),t.e(800)]).then(t.bind(t,3800))},{path:"PLAT_ORDER_LIST",name:"订单列表",component:()=>Promise.all([t.e(669),t.e(560),t.e(300)]).then(t.bind(t,8300))},{path:"PLAT_GOODS_LIST",name:"货品列表",component:()=>Promise.all([t.e(669),t.e(801)]).then(t.bind(t,4801))},{path:"GROUP_MANAGEMENT",name:"团购管理",component:()=>Promise.all([t.e(669),t.e(560),t.e(650)]).then(t.bind(t,1650))},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:()=>Promise.all([t.e(669),t.e(560),t.e(931)]).then(t.bind(t,7931))},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:()=>Promise.all([t.e(669),t.e(560),t.e(156)]).then(t.bind(t,7156))},{path:"FACE_SHEET",name:"电子面单",component:()=>Promise.all([t.e(669),t.e(43)]).then(t.bind(t,6043))}]}];var P=g;P.forEach((e=>{p.addRoute(e)})),o["default"].use(O()),o["default"].config.productionTip=!1,new o["default"]({router:p,store:b,render:e=>e(f)}).$mount("#app"),document.title="春分ERP-鲜花"}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var a=n[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}t.m=e,function(){t.amdO={}}(),function(){var e=[];t.O=function(n,o,r,a){if(!o){var i=1/0;for(f=0;f<e.length;f++){o=e[f][0],r=e[f][1],a=e[f][2];for(var c=!0,u=0;u<o.length;u++)(!1&a||i>=a)&&Object.keys(t.O).every((function(e){return t.O[e](o[u])}))?o.splice(u--,1):(c=!1,a<i&&(i=a));if(c){e.splice(f--,1);var l=r();void 0!==l&&(n=l)}}return n}a=a||0;for(var f=e.length;f>0&&e[f-1][2]>a;f--)e[f]=e[f-1];e[f]=[o,r,a]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise
|
||
|
|
//# sourceMappingURL=app.c0ecb7b8.js.map
|