2 lines
461 KiB
JavaScript
2 lines
461 KiB
JavaScript
|
var d6=Object.defineProperty;var v6=(a,o,l)=>o in a?d6(a,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[o]=l;var N=(a,o,l)=>(v6(a,typeof o!="symbol"?o+"":o,l),l);import{u as r,q as q3,d as A,b as p,o as v,c as g,U as h,L as _,a as m,K as w,aR as p6,P as F3,Q as E,af as e3,s as _6,r as x3,I as V3,S as l3,a0 as c3,M as G3,V as U3,O as Y3,W as z6,H as y6,ak as b6,al as g6,h as A6,T as W,a9 as i3,j as I,w as W3,R as F,bl as M6,bk as w6,n as f6,i as x6,as as V6}from"./@vue.18505fe0.js";import{E as Z3,u as H6,a as L6,i as C6,b as B6,c as E6,d as T6,e as R6,f as O6,g as X3,h as S6,j as I6,k as s3,l as U,m as n3,n as D6,o as k6,p as $3,q as K3,r as J3,s as P6,t as j6,v as N6,w as q6,x as F6,y as G6,z as U6,A as Y6}from"./element-plus.ea2cdc63.js";import{u as W6,l as Z6,m as Q3,n as X6,p as $6,e as K6}from"./@vueuse.fbc6a400.js";import{l as T}from"./lodash.60201f64.js";import{b as a6,d as r3}from"./axios.2b8d80bd.js";import{u as H3,a as L3,c as J6,b as Q6,R as g3}from"./vue-router.101084e3.js";import{d as v3,c as a1}from"./pinia.a969beab.js";import{l as o1}from"./css-color-function.b82a2ce7.js";import{H as o6}from"./@element-plus.edbd5a83.js";import{N as q}from"./nprogress.495afef3.js";import{u as l1}from"./vue-clipboard3.cb649e18.js";import{u as e1,a as c1,b as i1,c as t1,d as s1,e as n1,f as r1,g as h1,h as m1,j as u1,k as d1,l as v1,m as p1,n as _1,o as z1,p as y1,q as b1,r as g1,s as A1,v as M1,w as w1,x as f1,y as x1,z as V1,A as H1}from"./echarts.5016c48c.js";import{a as L1}from"./highlight.js.31cd7941.js";import{o as C1}from"./@highlightjs.b0c09b66.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./dayjs.8ae0c638.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./color.b905eb26.js";import"./clone.e1fb2883.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./clipboard.4592e390.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))e(c);new MutationObserver(c=>{for(const i of c)if(i.type==="childList")for(const t of i.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&e(t)}).observe(document,{childList:!0,subtree:!0});function l(c){const i={};return c.integrity&&(i.integrity=c.integrity),c.referrerpolicy&&(i.referrerPolicy=c.referrerpolicy),c.crossorigin==="use-credentials"?i.credentials="include":c.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function e(c){if(c.ep)return;c.ep=!0;const i=l(c);fetch(c.href,i)}})();const Y={terminal:1,title:"\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF",version:"1.5.0",baseUrl:"https://multi-store.lihaink.cn/",urlPrefix:"admin",timeout:10*1e3};var l6=(a=>(a.JSON="application/json;charset=UTF-8",a.FORM_DATA="multipart/form-data;charset=UTF-8",a))(l6||{}),a3=(a=>(a.GET="GET",a.POST="POST",a))(a3||{}),Q=(a=>(a[a.SUCCESS=1]="SUCCESS",a[a.FAIL=0]="FAIL",a[a.LOGIN_FAILURE=-1]="LOGIN_FAILURE",a[a.OPEN_NEW_PAGE=2]="OPEN_NEW_PAGE",a))(Q||{});const J=new Map,T3=class{static createInstance(){var o;return(o=this.instance)!=null?o:this.instance=new T3}add(o){const l=o.url;this.remove(l),o.cancelToken=new a6.CancelToken(e=>{J.has(l)||J.set(l,e)})}remove(o){if(J.has(o)){const l=J.get(o);l&&l(o),J.delete(o)}}};let h3=T3;N(h3,"instance");const O3=h3.createInstance();class B1{constructor(o){N(this,"axiosInstance");N(this,"config");N(this,"options");this.config=o,this.options=o.requestOptions,this.axiosInstance=a6.create(o),this.setupInterceptors()}getAxiosInstance(){return this.axiosInstance}setupInterceptors(){if(!this.config.axiosHooks)return;const{requestInterceptorsHook:o,requestInterceptorsCatchHook:l,responseInterceptorsHook:e,responseInterceptorsCatchHook:c}=this.config.axiosHooks;this.axiosInstance.interceptors.request.use(i=>(this.addCancelToken(i),T.exports.is
|