mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
2 lines
6.2 KiB
JavaScript
Vendored
2 lines
6.2 KiB
JavaScript
Vendored
(function(e){function n(n){for(var c,a,o=n[0],d=n[1],h=n[2],i=0,l=[];i<o.length;i++)a=o[i],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&l.push(r[a][0]),r[a]=0;for(c in d)Object.prototype.hasOwnProperty.call(d,c)&&(e[c]=d[c]);f&&f(n);while(l.length)l.shift()();return u.push.apply(u,h||[]),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=d(d.s=t[0]))}return e}var c={},a={app:0},r={app:0},u=[];function o(e){return d.p+"js/"+({}[e]||e)+"."+{"chunk-14bea2b5":"c3dc2945","chunk-2d23156c":"6af6d42e","chunk-3ad98ce0":"d4852cea","chunk-3c532032":"adbdd0d5","chunk-3e22dfcf":"17a21be0","chunk-5ed10db2":"f7bc8652","chunk-62101cb8":"df8fe332","chunk-959f9a24":"63a93281","chunk-ba60ef82":"bd8a71c1","chunk-dce0c6c0":"51e6f004","chunk-dee9adee":"c53fcd10","chunk-f60080c8":"789444a8"}[e]+".js"}function d(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,d),t.l=!0,t.exports}d.e=function(e){var n=[],t={"chunk-14bea2b5":1,"chunk-3ad98ce0":1,"chunk-3c532032":1,"chunk-3e22dfcf":1,"chunk-5ed10db2":1,"chunk-62101cb8":1,"chunk-959f9a24":1,"chunk-ba60ef82":1,"chunk-dce0c6c0":1,"chunk-dee9adee":1,"chunk-f60080c8":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-14bea2b5":"9f545d19","chunk-2d23156c":"31d6cfe0","chunk-3ad98ce0":"c0acee9a","chunk-3c532032":"e437602b","chunk-3e22dfcf":"0c73552c","chunk-5ed10db2":"12c276ba","chunk-62101cb8":"67947a26","chunk-959f9a24":"ed76f224","chunk-ba60ef82":"e437602b","chunk-dce0c6c0":"3d009b2d","chunk-dee9adee":"5a9e4325","chunk-f60080c8":"ff8f97f8"}[e]+".css",r=d.p+c,u=document.getElementsByTagName("link"),o=0;o<u.length;o++){var h=u[o],i=h.getAttribute("data-href")||h.getAttribute("href");if("stylesheet"===h.rel&&(i===c||i===r))return n()}var l=document.getElementsByTagName("style");for(o=0;o<l.length;o++){h=l[o],i=h.getAttribute("data-href");if(i===c||i===r)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.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],f.parentNode.removeChild(f),t(u)},f.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).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 h,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=o(e);var l=new Error;h=function(n){i.onerror=i.onload=null,clearTimeout(f);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;l.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",l.name="ChunkLoadError",l.type=c,l.request=a,t[1](l)}r[e]=void 0}};var f=setTimeout((function(){h({type:"timeout",target:i})}),12e4);i.onerror=i.onload=h,document.head.appendChild(i)}return Promise.all(n)},d.m=e,d.c=c,d.d=function(e,n,t){d.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,n){if(1&n&&(e=d(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)d.d(t,c,function(n){return e[n]}.bind(null,c));return t},d.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return d.d(n,"a",n),n},d.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},d.p="",d.oe=function(e){throw console.error(e),e};var h=window["webpackJsonp"]=window["webpackJsonp"]||[],i=h.push.bind(h);h.push=n,h=h.slice();for(var l=0;l<h.length;l++)n(h[l]);var f=i;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);var c=t("8642"),a=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)},r=[],u={},o=u,d=t("0b56"),h=Object(d["a"])(o,a,r,!1,null,null,null),i=h.exports,l=t("a18c"),f=t("7736");c["default"].use(f["a"]);var p=new f["a"].Store({state:{},mutations:{},actions:{},modules:{}}),s=t("5422"),b=t.n(s);t("e9b7"),t("f33e");const m=[{path:"/Login",name:"Login",component:()=>t.e("chunk-5ed10db2").then(t.bind(null,"a55b"))},{path:"/",component:()=>t.e("chunk-f60080c8").then(t.bind(null,"1e4b")),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>t.e("chunk-14bea2b5").then(t.bind(null,"088a")),meta:{keepAlive:!0}},{path:"GOODS_TYPE",name:"商品种类",component:()=>t.e("chunk-dce0c6c0").then(t.bind(null,"77b8"))},{path:"GOODS_BRAND",name:"商品品牌",component:()=>t.e("chunk-3ad98ce0").then(t.bind(null,"be26"))},{path:"SHOP_MANAGE",name:"店铺管理",component:()=>t.e("chunk-3e22dfcf").then(t.bind(null,"3e63"))},{path:"USER_MANAGE",name:"用户管理",component:()=>t.e("chunk-959f9a24").then(t.bind(null,"6355"))},{path:"ROLE_MANAGE",name:"角色管理",component:()=>t.e("chunk-62101cb8").then(t.bind(null,"f982"))},{path:"PERMISSION_MANAGE",name:"权限管理",component:()=>t.e("chunk-2d23156c").then(t.bind(null,"efb7"))},{path:"SYSTEM_LOG",name:"系统日志",component:()=>t.e("chunk-3c532032").then(t.bind(null,"054a"))},{path:"GOODS_LOG",name:"商品记录",component:()=>t.e("chunk-ba60ef82").then(t.bind(null,"5c89"))},{path:"ADDGOODS",name:"新建商品",component:()=>t.e("chunk-dee9adee").then(t.bind(null,"5635"))},{path:"/",redirect:"GOODS_LIST"}]}];var k=m;k.forEach(e=>{l["a"].addRoute(e)});t("4ff3");c["default"].use(b.a),c["default"].config.productionTip=!1,new c["default"]({router:l["a"],store:p,render:e=>e(i)}).$mount("#app"),document.title="春分ERP-鲜花"},a18c:function(e,n,t){"use strict";var c=t("8642"),a=t("1ceb");c["default"].use(a["a"]);const r=()=>new a["a"]({scrollBehavior:()=>({y:0})}),u=r();u.beforeEach((e,n,t)=>{const c=localStorage.getItem("token");"Login"===e.name||c?t():t({name:"Login"})}),n["a"]=u},f33e:function(e,n,t){}});
|
|
//# sourceMappingURL=app.cd30544f.js.map
|