2024-08-11 20:11:29 +08:00
|
|
|
var u6=Object.defineProperty;var v6=(a,o,e)=>o in a?u6(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e;var N=(a,o,e)=>(v6(a,typeof o!="symbol"?o+"":o,e),e);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 M,aR as p6,P as F3,Q as B,af as l3,s as _6,r as V3,I as x3,S as e3,a0 as c3,M as G3,V as U3,O as Y3,W as y6,H as z6,ak as b6,al as g6,h as A6,T as W,a9 as i3,j as D,w as W3,R as F,bl as w6,bk as M6,n as f6,i as V6,as as x6}from"./@vue.18505fe0.js";import{E as Z3,u as H6,a as L6,i as E6,b as C6,c as B6,d as T6,e as R6,f as O6,g as X3,h as I6,j as D6,k as s3,l as U,m as n3,n as S6,o as P6,p as $3,q as K3,r as J3,s as k6,t as j6,v as N6,w as q6,x as F6,y as G6,z as U6,A as Y6}from"./element-plus.9e22693c.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.419afce2.js";import{b as a6,d as r3}from"./axios.d44c8eec.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.9f6a56f3.js";import{H as o6}from"./@element-plus.edbd5a83.js";import{N as q}from"./nprogress.867692c9.js";import{u as e1}from"./vue-clipboard3.d30f83bc.js";import{u as l1,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 d1,k as u1,l as v1,m as p1,n as _1,o as y1,p as z1,q as b1,r as g1,s as A1,v as w1,w as M1,x as f1,y as V1,z as x1,A as H1}from"./echarts.5016c48c.js";import{a as L1}from"./highlight.js.31cd7941.js";import{o as E1}from"./@highlightjs.b0c09b66.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./dayjs.129a2796.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./color.d1bc3784.js";import"./clone.83700f2e.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.24da1bd3.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"]'))l(c);new MutationObserver(c=>{for(const t of c)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&l(s)}).observe(document,{childList:!0,subtree:!0});function e(c){const t={};return c.integrity&&(t.integrity=c.integrity),c.referrerpolicy&&(t.referrerPolicy=c.referrerpolicy),c.crossorigin==="use-credentials"?t.credentials="include":c.crossorigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function l(c){if(c.ep)return;c.ep=!0;const t=e(c);fetch(c.href,t)}})();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 e6=(a=>(a.JSON="application/json;charset=UTF-8",a.FORM_DATA="multipart/form-data;charset=UTF-8",a))(e6||{}),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 e=o.url;this.remove(e),o.cancelToken=new a6.CancelToken(l=>{J.has(e)||J.set(e,l)})}remove(o){if(J.has(o)){const e=J.get(o);e&&e(o),J.delete(o)}}};let h3=T3;N(h3,"instance");const O3=h3.createInstance();class C1{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:e,responseInterceptorsHook:l,responseInterceptorsCatchHook:c}=this.config.axiosHooks;this.axiosInstance.interceptors.request.use(t=>(this.addCancelToken(t),T.exports.is
|