mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 22:50:44 +00:00
4 lines
9.6 KiB
JavaScript
4 lines
9.6 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3ebcaff1"],{"0a5a":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n="admin_token";function o(){return localStorage.getItem("token")}function a(){return localStorage.removeItem(n)}},"23ba":function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"f",(function(){return i})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return u})),r.d(e,"b",(function(){return c}));var n=r("adb5");function o(t){return Object(n["a"])({url:"/api/group",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/api/group",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/api/group/".concat(t),method:"get"})}function s(t,e){return Object(n["a"])({url:"/api/group/".concat(t),method:"patch",data:e})}function u(t){return Object(n["a"])({url:"/api/groupGoods",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/groupGoods",method:"post",params:t})}},"323e":function(t,e,r){var n,o;
|
||
|
|
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
|
|
* @license MIT */(function(a,i){n=i,o="function"===typeof n?n.call(e,r,e,t):n,void 0===o||(t.exports=o)})(0,(function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(t,e,r){return t<e?e:t>r?r:t}function n(t){return 100*(-1+t)}function o(t,r,o){var a;return a="translate3d"===e.positionUsing?{transform:"translate3d("+n(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+n(t)+"%,0)"}:{"margin-left":n(t)+"%"},a.transition="all "+r+"ms "+o,a}t.configure=function(t){var r,n;for(r in t)n=t[r],void 0!==n&&t.hasOwnProperty(r)&&(e[r]=n);return this},t.status=null,t.set=function(n){var s=t.isStarted();n=r(n,e.minimum,1),t.status=1===n?null:n;var u=t.render(!s),c=u.querySelector(e.barSelector),l=e.speed,d=e.easing;return u.offsetWidth,a((function(r){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),i(c,o(n,l,d)),1===n?(i(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){i(u,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){t.remove(),r()}),l)}),l)):setTimeout(r,l)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var r=function(){setTimeout((function(){t.status&&(t.trickle(),r())}),e.trickleSpeed)};return e.trickle&&r(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!==typeof e&&(e=(1-n)*r(Math.random()*n,.1,.95)),n=r(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,r=0;t.promise=function(n){return n&&"resolved"!==n.state()?(0===r&&t.start(),e++,r++,n.always((function(){r--,0===r?(e=0,t.done()):t.set((e-r)/e)})),this):this}}(),t.render=function(r){if(t.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=e.template;var a,s=o.querySelector(e.barSelector),c=r?"-100":n(t.status||0),l=document.querySelector(e.parent);return i(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),e.showSpinner||(a=o.querySelector(e.spinnerSelector),a&&d(a)),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(o),o},t.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&d(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var r=t.shift();r&&r(e)}return function(r){t.push(r),1==t.length&&e()}}(),i=function(){var t=["Webkit","O","Moz","ms"],e={};function r(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function n(e){var r=document.body.style;if(e in r)return e;var n,o=t.length,a=e.charAt(0).toUpperCase()+e.slice(1);while(o--)if(n=t[o]+a,n in r)return n;return e}function o(t){return t=r(t),e[t]||(e[t]=n(t))}function a(t,e,r){e=o(e),t.style[e]=r}return function(t,e){var r,n,o=arguments;if(2==o.length)for(r in e)n=e[r],void 0!==n&&e.hasOwnProperty(r)&&a(t,r,n);else a(t,o[1],o[2])}}();function s(t,e){var r="string"==typeof t?t:l(t);return r.indexOf(" "+e+" ")>=0}function u(t,e){var r=l(t),n=r+e;s(r,e)||(t.className=n.substring(1))}function c(t,e){var r,n=l(t);s(t,e)&&(r=n.replace(" "+e+" "," "),t.className=r.substring(1,r.length-1))}function l(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function d(t){t&&t.parentNode&&t.parentNode.removeChild(t)}ret
|
||
|
|
//# sourceMappingURL=chunk-3ebcaff1.c0a7b78c.js.map
|