`adapter ${l} `+(m===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
`+o.map(qe).join(`
@@ -6,7 +6,7 @@ var kt=Object.defineProperty;var Pt=(e,t,n)=>t in e?kt(e,t,{enumerable:!0,config
`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=U(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&me.assertOptions(r,{silentJSONParsing:B.transitional(B.boolean),forcedJSONParsing:B.transitional(B.boolean),clarifyTimeoutError:B.transitional(B.boolean)},!1),s!=null&&(u.isFunction(s)?n.paramsSerializer={serialize:s}:me.assertOptions(s,{encode:B.function,serialize:B.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&u.merge(o.common,o[n.method]);o&&u.forEach(["delete","get","head","post","put","patch","common"],a=>{delete o[a]}),n.headers=D.concat(i,o);const l=[];let m=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(m=m&&d.synchronous,l.unshift(d.fulfilled,d.rejected))});const E=[];this.interceptors.response.forEach(function(d){E.push(d.fulfilled,d.rejected)});let f,c=0,p;if(!m){const a=[We.bind(this),void 0];for(a.unshift.apply(a,l),a.push.apply(a,E),p=a.length,f=Promise.resolve(n);c{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new W(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ce(function(s){t=s}),cancel:t}}}const Lr=Ce;function Nr(e){return function(n){return e.apply(null,n)}}function Fr(e){return u.isObject(e)&&e.isAxiosError===!0}const pe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pe).forEach(([e,t])=>{pe[t]=e});const Ir=pe;function Tt(e){const t=new Y(e),n=ot(Y.prototype.request,t);return u.extend(n,Y.prototype,t,{allOwnKeys:!0}),u.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Tt(U(e,s))},n}const A=Tt(Re);A.Axios=Y;A.CanceledError=W;A.CancelToken=Lr;A.isCancel=vt;A.VERSION=At;A.toFormData=re;A.AxiosError=g;A.Cancel=A.CanceledError;A.all=function(t){return Promise.all(t)};A.spread=Nr;A.isAxiosError=Fr;A.mergeConfig=U;A.AxiosHeaders=D;A.formToJSON=e=>bt(u.isHTMLForm(e)?new FormData(e):e);A.getAdapter=_t.getAdapter;A.HttpStatusCode=Ir;A.default=A;function Ge(){Pe().logout(),location.reload()}function Vr(){const e=A.create();return e.interceptors.request.use(t=>t,t=>Promise.reject(t)),e.interceptors.response.use(t=>{var o;const n=t.data,r=(o=t.request)==null?void 0:o.responseType;if(r==="blob"||r==="arraybuffer")return n;const s=n.code;if(s===void 0)return G.error("非本系统的接口"),Promise.reject(new Error("非本系统的接口"));switch(s){case 0:return n;case 401:return Ge();default:return G.error(n.message||"Error"),Promise.reject(new Error("Error"))}},t=>{switch(qt(t,"response.status")){case 400:t.message="请求错误";break;case 401:Ge();break;case 403:t.message="拒绝访问";break;case 404:t.message="请求地址出错";break;case 408:t.message="请求超时";break;case 500:t.message="服务器内部错误";break;case 501:t.message="服务未实现";break;case 502:t.message="网关错误";break;case 503:t.message="服务不可用";break;case 504:t.message="网关超时";break;case 505:t.message="HTTP 版本不受支持";break}return G.error(t.message),Promise.reject(t)}),e}function Mr(e){return function(t){const n=Se(),r={headers:{Authorization:n?`Bearer ${n}`:void 0,"Content-Type":"application/json"},timeout:5e3,baseURL:"https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212/api/v1",data:{}},s=Wt(r,t);return e(s)}}const Ur=Vr(),ke=Mr(Ur);function _s(){return ke({url:"login/code",method:"get"})}function jr(e){return ke({url:"users/login",method:"post",data:e})}function zr(){return ke({url:"users/info",method:"get"})}const Hr=Q("user",()=>{const e=P(Se()||""),t=P([]),n=P(""),r=bn(),s=st(),o=async({username:c,password:p,code:w})=>{const{data:a}=await jr({username:c,password:p,code:w});Ne(a.token),e.value=a.token},i=async()=>{var p;const{data:c}=await zr();n.value=c.username,t.value=((p=c.roles)==null?void 0:p.length)>0?c.roles:tt.defaultRoles},l=async c=>{const p="token-"+c;e.value=p,Ne(p),window.location.reload()},m=()=>{Fe(),e.value="",t.value=[],En(),f()},E=()=>{Fe(),e.value="",t.value=[]},f=()=>{s.cacheTagsView||(r.delAllVisitedViews(),r.delAllCachedViews())};return{token:e,roles:t,username:n,login:o,getInfo:i,changeRoles:l,logout:m,resetToken:E}});function Pe(){return Hr(be)}const qr=(e,t)=>{var r;const n=(r=t.meta)==null?void 0:r.roles;return n?e.some(s=>n.includes(s)):!0},Rt=(e,t)=>{const n=[];return e.forEach(r=>{const s={...r};qr(t,s)&&(s.children&&(s.children=Rt(s.children,t)),n.push(s))}),n},Wr=Q("permission",()=>{const e=P([]),t=P([]),n=o=>{const i=Rt(Le,o);s(i)},r=()=>{s(Le)},s=o=>{e.value=nt.concat(o),t.value=o};return{routes:e,dynamicRoutes:t,setRoutes:n,setAllRoutes:r}});function Jr(){return Wr(be)}function $r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}const he=$r(),Ee=Symbol("ROUTE_CHANGE");let ge;const Gr=e=>{he.emit(Ee,e),ge=e};function As(){const e=[],t=(r,s=!1)=>{e.push(r),he.on(Ee,r),s&&ge&&r(ge)},n=r=>{he.off(Ee,r)};return Vt(()=>{for(let r=0;r{Ot.value=e?`${Ke} | ${e}`:Ke};Qe(Ot,(e,t)=>{document&&e!==t&&(document.title=e)});function Xr(){return{setTitle:Kr}}const Yr=["/login"],Zr=[],Qr=e=>Yr.indexOf(e.path)!==-1||Zr.indexOf(e.name)!==-1;var Ct={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Jt,function(){var n={};n.version="0.2.0";var r=n.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:''};n.configure=function(a){var d,h;for(d in a)h=a[d],h!==void 0&&a.hasOwnProperty(d)&&(r[d]=h);return this},n.status=null,n.set=function(a){var d=n.isStarted();a=s(a,r.minimum,1),n.status=a===1?null:a;var h=n.render(!d),y=h.querySelector(r.barSelector),S=r.speed,T=r.easing;return h.offsetWidth,l(function(b){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),m(y,i(a,S,T)),a===1?(m(h,{transition:"none",opacity:1}),h.offsetWidth,setTimeout(function(){m(h,{transition:"all "+S+"ms linear",opacity:0}),setTimeout(function(){n.remove(),b()},S)},S)):setTimeout(b,S)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var a=function(){setTimeout(function(){n.status&&(n.trickle(),a())},r.trickleSpeed)};return r.trickle&&a(),this},n.done=function(a){return!a&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(a){var d=n.status;return d?(typeof a!="number"&&(a=(1-d)*s(Math.random()*d,.1,.95)),d=s(d+a,0,.994),n.set(d)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var a=0,d=0;n.promise=function(h){return!h||h.state()==="resolved"?this:(d===0&&n.start(),a++,d++,h.always(function(){d--,d===0?(a=0,n.done()):n.set((a-d)/a)}),this)}}(),n.render=function(a){if(n.isRendered())return document.getElementById("nprogress");f(document.documentElement,"nprogress-busy");var d=document.createElement("div");d.id="nprogress",d.innerHTML=r.template;var h=d.querySelector(r.barSelector),y=a?"-100":o(n.status||0),S=document.querySelector(r.parent),T;return m(h,{transition:"all 0 linear",transform:"translate3d("+y+"%,0,0)"}),r.showSpinner||(T=d.querySelector(r.spinnerSelector),T&&w(T)),S!=document.body&&f(S,"nprogress-custom-parent"),S.appendChild(d),d},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(r.parent),"nprogress-custom-parent");var a=document.getElementById("nprogress");a&&w(a)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var a=document.body.style,d="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return d+"Perspective"in a?"translate3d":d+"Transform"in a?"translate":"margin"};function s(a,d,h){return ah?h:a}function o(a){return(-1+a)*100}function i(a,d,h){var y;return r.positionUsing==="translate3d"?y={transform:"translate3d("+o(a)+"%,0,0)"}:r.positionUsing==="translate"?y={transform:"translate("+o(a)+"%,0)"}:y={"margin-left":o(a)+"%"},y.transition="all "+d+"ms "+h,y}var l=function(){var a=[];function d(){var h=a.shift();h&&h(d)}return function(h){a.push(h),a.length==1&&d()}}(),m=function(){var a=["Webkit","O","Moz","ms"],d={};function h(b){return b.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(O,C){return C.toUpperCase()})}function y(b){var O=document.body.style;if(b in O)return b;for(var C=a.length,V=b.charAt(0).toUpperCase()+b.slice(1),N;C--;)if(N=a[C]+V,N in O)return N;return b}function S(b){return b=h(b),d[b]||(d[b]=y(b))}function T(b,O,C){O=S(O),b.style[O]=C}return function(b,O){var C=arguments,V,N;if(C.length==2)for(V in O)N=O[V],N!==void 0&&O.hasOwnProperty(V)&&T(b,V,N);else T(b,C[1],C[2])}}();function E(a,d){var h=typeof a=="string"?a:p(a);return h.indexOf(" "+d+" ")>=0}function f(a,d){var h=p(a),y=h+d;E(h,d)||(a.className=y.substring(1))}function c(a,d){var h=p(a),y;E(a,d)&&(y=h.replace(" "+d+" "," "),a.className=y.substring(1,y.length-1))}function p(a){return(" "+(a.className||"")+" ").replace(/\s+/gi," ")}function w(a){a&&a.parentNode&&a.parentNode.removeChild(a)}return n})})(Ct);var es=Ct.exports;const xe=$t(es),{setTitle:ts}=Xr();xe.configure({showSpinner:!1});L.beforeEach(async(e,t,n)=>{xe.start();const r=Pe(),s=Jr();if(!Se())return Qr(e)?n():n("/login");if(e.path==="/login")return n({path:"/"});if(r.roles.length!==0)return n();try{await r.getInfo();const i=r.roles;tt.async?s.setRoutes(i):s.setAllRoutes(),s.dynamicRoutes.forEach(l=>L.addRoute(l)),n({...e,replace:!0})}catch(i){r.resetToken(),G.error(i.message||"路由守卫过程发生错误"),n("/login")}});L.afterEach(e=>{Gr(e),ts(e.meta.title),xe.done()});const ns={class:"svg-icon","aria-hidden":"true"},rs=["href"],ss=Ye({__name:"index",props:{prefix:{default:"icon"},name:{}},setup(e){const t=e,n=Mt(()=>`#${t.prefix}-${t.name}`);return(r,s)=>(Ze(),Ut("svg",ns,[jt("use",{href:n.value},null,8,rs)]))}}),os=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},is=os(ss,[["__scopeId","data-v-ce51d543"]]);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function as(e){e.component("SvgIcon",is)}function cs(e){e.use(Gt)}function us(e){for(const[t,n]of Object.entries(Kt))e.component(t,n)}ye.use(Xt);ye.setup({size:"medium",zIndex:9999,version:0,loadingText:null,table:{showHeader:!0,showOverflow:"tooltip",showHeaderOverflow:"tooltip",autoResize:!0,border:"inner",emptyText:"暂无数据",rowConfig:{isHover:!0,isCurrent:!0},columnConfig:{resizable:!1},align:"center",headerAlign:"center",rowId:"_VXE_ID"},pager:{perfect:!1,pageSize:10,pagerCount:7,pageSizes:[10,20,50],layouts:["Total","PrevJump","PrevPage","Number","NextPage","NextJump","Sizes","FullJump"]},modal:{minWidth:500,minHeight:400,lockView:!0,mask:!0,dblclickZoom:!1,showTitleOverflow:!0,transfer:!0,draggable:!1}});function ls(e){e.use(ye)}function ds(e){cs(e),us(e),ls(e)}const fs={mounted(e,t){var s;const{value:n}=t,{roles:r}=Pe();if(Array.isArray(n)&&n.length>0)r.some(i=>n.includes(i))||((s=e.parentNode)==null||s.removeChild(e));else throw new Error(`need roles! Like v-permission="['admin','editor']"`)}};function ms(e){e.directive("permission",fs)}const J=zt(fn);ds(J);as(J);ms(J);J.use(be).use(L);L.isReady().then(()=>{J.mount("#app")});export{gn as D,rt as L,Ss as S,os as _,vs as a,st as b,bn as c,Wr as d,Hr as e,_s as f,ws as g,ln as h,ke as i,Pe as j,ys as r,bs as s,As as u};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["static/index-dlXf2uTU.js","static/vue-edbHIJ2J.js","static/useWatermark-cvdbE1cJ.js","static/element-6bs1qbFv.js","static/index.vue_vue_type_script_setup_true_lang-FIfOTZd3.js","static/vxe-gaPTatyF.js","static/index-ptz1g38e.css","static/index-eyJZxR0_.js","static/403-_hh0tpUA.js","static/ErrorPageLayout-36uGJVU5.js","static/ErrorPageLayout-MzgEGPxr.css","static/404-exUaszJ6.js","static/index-lXLS9mBO.js","static/index-wzvf4Xdj.css","static/index-XW38DxfT.js","static/index-eNpFb1fr.css","static/index-C1CxVjcb.js","static/index-cWRBmFxm.js","static/index-pPKETdvU.js","static/index-oijKSejA.css","static/index-nnM7pWzw.js","static/index-NPSzQngM.js","static/index-A5kuWbk8.css","static/index-RF_9sazX.js","static/index-uVCZtvon.js","static/index-aJN4HYNR.js","static/index-PBw5UC4f.js","static/index-FAQjzuRs.js","static/index-qRHlpvtI.js","static/use-fetch-select-v_-wiev5.js","static/use-fullscreen-loading-lHTCwpK_.js","static/use-watermark-rclhIKm3.js","static/use-watermark-vMj6GPUV.css","static/page-AUJecNsA.js","static/SwitchRoles-uAMobUs0.js","static/SwitchRoles-MozfMXCY.css","static/page-SsBudmrM.css","static/directive-GTRgM8Es.js","static/directive-Eo5DL1J-.css"]
+ __vite__mapDeps.viteFileDeps = ["static/index-DVBcVDeI.js","static/vue-edbHIJ2J.js","static/useWatermark-cvdbE1cJ.js","static/element-6bs1qbFv.js","static/index.vue_vue_type_script_setup_true_lang-bsryQaiT.js","static/vxe-gaPTatyF.js","static/index-ptz1g38e.css","static/index-eyJZxR0_.js","static/403-JonilBDO.js","static/ErrorPageLayout-00x6Hk6A.js","static/ErrorPageLayout-MzgEGPxr.css","static/404-0u_z25aH.js","static/index-xZmeAhSe.js","static/index-wzvf4Xdj.css","static/index-rFpgiq7T.js","static/index-eNpFb1fr.css","static/index-9TSzTboB.js","static/index-xq0nfXcw.js","static/index-OGsdf-Mv.js","static/index-oijKSejA.css","static/index-UT6KUG6V.js","static/index-s8ecr24N.js","static/index-A5kuWbk8.css","static/index-RF_9sazX.js","static/index-1nFrs_93.js","static/index-aJN4HYNR.js","static/index-PBw5UC4f.js","static/index-FAQjzuRs.js","static/index-qRHlpvtI.js","static/use-fetch-select-v_-wiev5.js","static/use-fullscreen-loading-lHTCwpK_.js","static/use-watermark-R-hRyPa0.js","static/use-watermark-vMj6GPUV.css","static/page-C-TEXJvN.js","static/SwitchRoles-VQKajN7y.js","static/SwitchRoles-xi_J68tU.css","static/page-SsBudmrM.css","static/directive-NuOrfW6G.js","static/directive-Eo5DL1J-.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
diff --git a/static/index-pPKETdvU.js b/static/index-OGsdf-Mv.js
similarity index 79%
rename from static/index-pPKETdvU.js
rename to static/index-OGsdf-Mv.js
index 16901e3e..3feb8d9d 100644
--- a/static/index-pPKETdvU.js
+++ b/static/index-OGsdf-Mv.js
@@ -1 +1 @@
-import{i as e}from"./index-DCPOeUoe.js";function r(t){return e({url:"table",method:"post",data:t})}function u(t){return e({url:`table/${t}`,method:"delete"})}function l(t){return e({url:"table",method:"put",data:t})}function n(t){return e({url:"table",method:"get",params:t})}export{r as c,u as d,n as g,l as u};
+import{i as e}from"./index-EHqyFSY1.js";function r(t){return e({url:"table",method:"post",data:t})}function u(t){return e({url:`table/${t}`,method:"delete"})}function l(t){return e({url:"table",method:"put",data:t})}function n(t){return e({url:"table",method:"get",params:t})}export{r as c,u as d,n as g,l as u};
diff --git a/static/index-nnM7pWzw.js b/static/index-UT6KUG6V.js
similarity index 97%
rename from static/index-nnM7pWzw.js
rename to static/index-UT6KUG6V.js
index 3c66d3d5..fa0f9b13 100644
--- a/static/index-nnM7pWzw.js
+++ b/static/index-UT6KUG6V.js
@@ -1 +1 @@
-import{g as D,d as T}from"./index-pPKETdvU.js";import{U as l,l as P,r as y,Z as b,n as S,ag as v,m as $,p as M,O as p,S as _,K as k}from"./vue-edbHIJ2J.js";import{H as R,b as w}from"./element-6bs1qbFv.js";import"./index-DCPOeUoe.js";import"./vxe-gaPTatyF.js";const U={default:({row:h,column:s})=>{const i=h[s.field];return[l("span",{class:`el-tag el-tag--${i==="admin"?"":"warning"} el-tag--plain`},[i])]}},E=U,O={default:({row:h,column:s})=>{const i=h[s.field],[c,g]=i?["success","启用"]:["danger","禁用"];return[l("span",{class:`el-tag el-tag--${c} el-tag--plain`},[g])]}},F=O,q={class:"app-container"},H=P({name:"VxeTable",__name:"index",setup(h){const s=y(),i=b({loading:!0,autoResize:!0,pagerConfig:{align:"right"},formConfig:{items:[{field:"username",itemRender:{name:"$input",props:{placeholder:"用户名",clearable:!0}}},{field:"phone",itemRender:{name:"$input",props:{placeholder:"手机号",clearable:!0}}},{itemRender:{name:"$buttons",children:[{props:{type:"submit",content:"查询",status:"primary"}},{props:{type:"reset",content:"重置"}}]}}]},toolbarConfig:{refresh:!0,custom:!0,slots:{buttons:"toolbar-btns"}},customConfig:{checkMethod:({column:e})=>!["username"].includes(e.field)},columns:[{type:"checkbox",width:"50px"},{field:"username",title:"用户名"},{field:"roles",title:"角色",slots:E},{field:"phone",title:"手机号"},{field:"email",title:"邮箱"},{field:"status",title:"状态",slots:F},{field:"createTime",title:"创建时间"},{title:"操作",width:"150px",fixed:"right",showOverflow:!1,slots:{default:"row-operate"}}],proxyConfig:{seq:!0,form:!0,props:{total:"total"},ajax:{query:({page:e,form:t})=>(i.loading=!0,a.clearTable(),new Promise(o=>{let r=0,u=[];const d=n=>{n!=null&&n.data&&(r=n.data.total,u=n.data.list),i.loading=!1,o({total:r,result:u})},f={username:t.username||void 0,phone:t.phone||void 0,size:e.pageSize,currentPage:e.currentPage};D(f).then(d).catch(d)}))}}}),c=y(),g=b({title:"",showClose:!0,escClosable:!0,maskClosable:!0,beforeHideMethod:()=>{var e;return(e=x.value)==null||e.clearValidate(),Promise.resolve()}}),x=y(),m=b({span:24,titleWidth:"100px",loading:!1,titleColon:!1,data:{username:"",password:""},items:[{field:"username",title:"用户名",itemRender:{name:"$input",props:{placeholder:"请输入"}}},{field:"password",title:"密码",itemRender:{name:"$input",props:{placeholder:"请输入"}}},{align:"right",itemRender:{name:"$buttons",children:[{props:{content:"取消"},events:{click:()=>{var e;return(e=c.value)==null?void 0:e.close()}}},{props:{type:"submit",content:"确定",status:"primary"},events:{click:()=>a.onSubmitForm()}}]}}],rules:{username:[{required:!0,validator:({itemValue:e})=>{switch(!0){case!e:return new Error("请输入");case!e.trim():return new Error("空格无效")}}}],password:[{required:!0,validator:({itemValue:e})=>{switch(!0){case!e:return new Error("请输入");case!e.trim():return new Error("空格无效")}}}]}}),a=b({isUpdate:!0,commitQuery:()=>{var e;return(e=s.value)==null?void 0:e.commitProxy("query")},clearTable:()=>{var e;return(e=s.value)==null?void 0:e.reloadData([])},onShowModal:e=>{var o,r,u,d;e?(a.isUpdate=!0,g.title="修改用户",m.data.username=e.username):(a.isUpdate=!1,g.title="新增用户");const t=(u=(r=(o=m.items)==null?void 0:o[0])==null?void 0:r.itemRender)==null?void 0:u.props;t&&(t.disabled=a.isUpdate),(d=c.value)==null||d.open(),S(()=>{var f,n;!a.isUpdate&&((f=x.value)==null||f.reset()),(n=x.value)==null||n.clearValidate()})},onSubmitForm:()=>{var e;m.loading||(e=x.value)==null||e.validate(t=>{if(t)return;m.loading=!0;const o=()=>{var r;m.loading=!1,(r=c.value)==null||r.close(),w.success("操作成功"),!a.isUpdate&&a.afterInsert(),a.commitQuery()};a.isUpdate?setTimeout(()=>o(),1e3):setTimeout(()=>o(),1e3)})},afterInsert:()=>{var t,o;const e=(o=(t=s.value)==null?void 0:t.getProxyInfo())==null?void 0:o.pager;e&&e.currentPage*e.pageSize===e.total&&++e.currentPage},onDelete:e=>{const t=`确定 删除 用户 ${e.username} ?`,o={type:"warning",showClose:!0,closeOnClickModal:!0,closeOnPressEscape:!0,cancelButtonText:"取消",confirmButtonText:"确定",dangerouslyUseHTMLString:!0};R.confirm(t,"提示",o).then(()=>{T(e.id).then(()=>{w.success("删除成功"),a.afterDelete(),a.commitQuery()})})},afterDelete:()=>{var o,r;const e=s.value.getData(),t=(r=(o=s.value)==null?void 0:o.getProxyInfo())==null?void 0:r.pager;t&&t.currentPage>1&&e.length===1&&--t.currentPage},moreFn:()=>{}});return(e,t)=>{const o=v("vxe-button"),r=v("el-button"),u=v("vxe-grid"),d=v("vxe-form"),f=v("vxe-modal");return $(),M("div",q,[l(u,k({ref_key:"xGridDom",ref:s},i),{"toolbar-btns":p(()=>[l(o,{status:"primary",icon:"vxe-icon-add",onClick:t[0]||(t[0]=n=>a.onShowModal())},{default:p(()=>[_("新增用户")]),_:1}),l(o,{status:"danger",icon:"vxe-icon-delete"},{default:p(()=>[_("批量删除")]),_:1})]),"row-operate":p(({row:n})=>[l(r,{link:"",type:"primary",onClick:C=>a.onShowModal(n)},{default:p(()=>[_("修改")]),_:2},1032,["onClick"]),l(r,{link:"",type:"danger",onClick:C=>a.onDelete(n)},{default:p(()=>[_("删除")]),_:2},1032,["onClick"])]),_:1},16),l(f,k({ref_key:"xModalDom",ref:c},g),{default:p(()=>[l(d,k({ref_key:"xFormDom",ref:x},m),null,16)]),_:1},16)])}}});export{H as default};
+import{g as D,d as T}from"./index-OGsdf-Mv.js";import{U as l,l as P,r as y,Z as b,n as S,ag as v,m as $,p as M,O as p,S as _,K as k}from"./vue-edbHIJ2J.js";import{H as R,b as w}from"./element-6bs1qbFv.js";import"./index-EHqyFSY1.js";import"./vxe-gaPTatyF.js";const U={default:({row:h,column:s})=>{const i=h[s.field];return[l("span",{class:`el-tag el-tag--${i==="admin"?"":"warning"} el-tag--plain`},[i])]}},E=U,O={default:({row:h,column:s})=>{const i=h[s.field],[c,g]=i?["success","启用"]:["danger","禁用"];return[l("span",{class:`el-tag el-tag--${c} el-tag--plain`},[g])]}},F=O,q={class:"app-container"},H=P({name:"VxeTable",__name:"index",setup(h){const s=y(),i=b({loading:!0,autoResize:!0,pagerConfig:{align:"right"},formConfig:{items:[{field:"username",itemRender:{name:"$input",props:{placeholder:"用户名",clearable:!0}}},{field:"phone",itemRender:{name:"$input",props:{placeholder:"手机号",clearable:!0}}},{itemRender:{name:"$buttons",children:[{props:{type:"submit",content:"查询",status:"primary"}},{props:{type:"reset",content:"重置"}}]}}]},toolbarConfig:{refresh:!0,custom:!0,slots:{buttons:"toolbar-btns"}},customConfig:{checkMethod:({column:e})=>!["username"].includes(e.field)},columns:[{type:"checkbox",width:"50px"},{field:"username",title:"用户名"},{field:"roles",title:"角色",slots:E},{field:"phone",title:"手机号"},{field:"email",title:"邮箱"},{field:"status",title:"状态",slots:F},{field:"createTime",title:"创建时间"},{title:"操作",width:"150px",fixed:"right",showOverflow:!1,slots:{default:"row-operate"}}],proxyConfig:{seq:!0,form:!0,props:{total:"total"},ajax:{query:({page:e,form:t})=>(i.loading=!0,a.clearTable(),new Promise(o=>{let r=0,u=[];const d=n=>{n!=null&&n.data&&(r=n.data.total,u=n.data.list),i.loading=!1,o({total:r,result:u})},f={username:t.username||void 0,phone:t.phone||void 0,size:e.pageSize,currentPage:e.currentPage};D(f).then(d).catch(d)}))}}}),c=y(),g=b({title:"",showClose:!0,escClosable:!0,maskClosable:!0,beforeHideMethod:()=>{var e;return(e=x.value)==null||e.clearValidate(),Promise.resolve()}}),x=y(),m=b({span:24,titleWidth:"100px",loading:!1,titleColon:!1,data:{username:"",password:""},items:[{field:"username",title:"用户名",itemRender:{name:"$input",props:{placeholder:"请输入"}}},{field:"password",title:"密码",itemRender:{name:"$input",props:{placeholder:"请输入"}}},{align:"right",itemRender:{name:"$buttons",children:[{props:{content:"取消"},events:{click:()=>{var e;return(e=c.value)==null?void 0:e.close()}}},{props:{type:"submit",content:"确定",status:"primary"},events:{click:()=>a.onSubmitForm()}}]}}],rules:{username:[{required:!0,validator:({itemValue:e})=>{switch(!0){case!e:return new Error("请输入");case!e.trim():return new Error("空格无效")}}}],password:[{required:!0,validator:({itemValue:e})=>{switch(!0){case!e:return new Error("请输入");case!e.trim():return new Error("空格无效")}}}]}}),a=b({isUpdate:!0,commitQuery:()=>{var e;return(e=s.value)==null?void 0:e.commitProxy("query")},clearTable:()=>{var e;return(e=s.value)==null?void 0:e.reloadData([])},onShowModal:e=>{var o,r,u,d;e?(a.isUpdate=!0,g.title="修改用户",m.data.username=e.username):(a.isUpdate=!1,g.title="新增用户");const t=(u=(r=(o=m.items)==null?void 0:o[0])==null?void 0:r.itemRender)==null?void 0:u.props;t&&(t.disabled=a.isUpdate),(d=c.value)==null||d.open(),S(()=>{var f,n;!a.isUpdate&&((f=x.value)==null||f.reset()),(n=x.value)==null||n.clearValidate()})},onSubmitForm:()=>{var e;m.loading||(e=x.value)==null||e.validate(t=>{if(t)return;m.loading=!0;const o=()=>{var r;m.loading=!1,(r=c.value)==null||r.close(),w.success("操作成功"),!a.isUpdate&&a.afterInsert(),a.commitQuery()};a.isUpdate?setTimeout(()=>o(),1e3):setTimeout(()=>o(),1e3)})},afterInsert:()=>{var t,o;const e=(o=(t=s.value)==null?void 0:t.getProxyInfo())==null?void 0:o.pager;e&&e.currentPage*e.pageSize===e.total&&++e.currentPage},onDelete:e=>{const t=`确定 删除 用户 ${e.username} ?`,o={type:"warning",showClose:!0,closeOnClickModal:!0,closeOnPressEscape:!0,cancelButtonText:"取消",confirmButtonText:"确定",dangerouslyUseHTMLString:!0};R.confirm(t,"提示",o).then(()=>{T(e.id).then(()=>{w.success("删除成功"),a.afterDelete(),a.commitQuery()})})},afterDelete:()=>{var o,r;const e=s.value.getData(),t=(r=(o=s.value)==null?void 0:o.getProxyInfo())==null?void 0:r.pager;t&&t.currentPage>1&&e.length===1&&--t.currentPage},moreFn:()=>{}});return(e,t)=>{const o=v("vxe-button"),r=v("el-button"),u=v("vxe-grid"),d=v("vxe-form"),f=v("vxe-modal");return $(),M("div",q,[l(u,k({ref_key:"xGridDom",ref:s},i),{"toolbar-btns":p(()=>[l(o,{status:"primary",icon:"vxe-icon-add",onClick:t[0]||(t[0]=n=>a.onShowModal())},{default:p(()=>[_("新增用户")]),_:1}),l(o,{status:"danger",icon:"vxe-icon-delete"},{default:p(()=>[_("批量删除")]),_:1})]),"row-operate":p(({row:n})=>[l(r,{link:"",type:"primary",onClick:C=>a.onShowModal(n)},{default:p(()=>[_("修改")]),_:2},1032,["onClick"]),l(r,{link:"",type:"danger",onClick:C=>a.onDelete(n)},{default:p(()=>[_("删除")]),_:2},1032,["onClick"])]),_:1},16),l(f,k({ref_key:"xModalDom",ref:c},g),{default:p(()=>[l(d,k({ref_key:"xFormDom",ref:x},m),null,16)]),_:1},16)])}}});export{H as default};
diff --git a/static/index-XW38DxfT.js b/static/index-rFpgiq7T.js
similarity index 91%
rename from static/index-XW38DxfT.js
rename to static/index-rFpgiq7T.js
index 3036a4dd..d26e78b1 100644
--- a/static/index-XW38DxfT.js
+++ b/static/index-rFpgiq7T.js
@@ -1 +1 @@
-import{_ as c,e as a}from"./index-DCPOeUoe.js";import{ag as s,m as n,p as r,U as _,l as i,M as p,Q as m,u as d}from"./vue-edbHIJ2J.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const l={},u={class:"app-container center"};function f(t,o){const e=s("el-empty");return n(),r("div",u,[_(e,{description:"Admin 权限可见"})])}const v=c(l,[["render",f],["__scopeId","data-v-540a7bcc"]]),x={},h={class:"app-container center"};function y(t,o){const e=s("el-empty");return n(),r("div",h,[_(e,{description:"Editor 权限可见"})])}const $=c(x,[["render",y],["__scopeId","data-v-e677b768"]]),b=i({__name:"index",setup(t){const e=a().roles.includes("admin");return(k,A)=>(n(),p(m(d(e)?v:$)))}});export{b as default};
+import{_ as c,e as a}from"./index-EHqyFSY1.js";import{ag as s,m as n,p as r,U as _,l as i,M as p,Q as m,u as d}from"./vue-edbHIJ2J.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const l={},u={class:"app-container center"};function f(t,o){const e=s("el-empty");return n(),r("div",u,[_(e,{description:"Admin 权限可见"})])}const v=c(l,[["render",f],["__scopeId","data-v-540a7bcc"]]),x={},h={class:"app-container center"};function y(t,o){const e=s("el-empty");return n(),r("div",h,[_(e,{description:"Editor 权限可见"})])}const $=c(x,[["render",y],["__scopeId","data-v-e677b768"]]),b=i({__name:"index",setup(t){const e=a().roles.includes("admin");return(k,A)=>(n(),p(m(d(e)?v:$)))}});export{b as default};
diff --git a/static/index-NPSzQngM.js b/static/index-s8ecr24N.js
similarity index 91%
rename from static/index-NPSzQngM.js
rename to static/index-s8ecr24N.js
index 5227b108..8c5c5f49 100644
--- a/static/index-NPSzQngM.js
+++ b/static/index-s8ecr24N.js
@@ -1 +1 @@
-import{_ as s}from"./index-DCPOeUoe.js";import{ag as e,m as _,p as i,q as p,S as o,U as t,O as n}from"./vue-edbHIJ2J.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const l={},m={class:"app-container"};function d(u,f){const r=e("el-link"),a=e("router-view"),c=e("el-card");return _(),i("div",m,[p("h4",null,[o(" 三级及其以上路由缓存功能默认关闭,需要请前往此配置文件中打开: "),t(r,{type:"primary",href:"https://github.com/un-pany/v3-admin-vite/blob/main/src/config/route.ts",target:"_blank"},{default:n(()=>[o(" src/config/route.ts ")]),_:1})]),t(c,{header:"二级路由 - menu1"},{default:n(()=>[t(a)]),_:1})])}const g=s(l,[["render",d],["__scopeId","data-v-6b5ec9cb"]]);export{g as default};
+import{_ as s}from"./index-EHqyFSY1.js";import{ag as e,m as _,p as i,q as p,S as o,U as t,O as n}from"./vue-edbHIJ2J.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const l={},m={class:"app-container"};function d(u,f){const r=e("el-link"),a=e("router-view"),c=e("el-card");return _(),i("div",m,[p("h4",null,[o(" 三级及其以上路由缓存功能默认关闭,需要请前往此配置文件中打开: "),t(r,{type:"primary",href:"https://github.com/un-pany/v3-admin-vite/blob/main/src/config/route.ts",target:"_blank"},{default:n(()=>[o(" src/config/route.ts ")]),_:1})]),t(c,{header:"二级路由 - menu1"},{default:n(()=>[t(a)]),_:1})])}const g=s(l,[["render",d],["__scopeId","data-v-6b5ec9cb"]]);export{g as default};
diff --git a/static/index-lXLS9mBO.js b/static/index-xZmeAhSe.js
similarity index 93%
rename from static/index-lXLS9mBO.js
rename to static/index-xZmeAhSe.js
index 9852c9d1..1a852674 100644
--- a/static/index-lXLS9mBO.js
+++ b/static/index-xZmeAhSe.js
@@ -1 +1 @@
-import{l as k,aD as C,r as f,Z as S,ag as s,m as U,p as z,U as e,q as c,O as t,u as i,a2 as I,S as q,a8 as F,aH as M,aI as R}from"./vue-edbHIJ2J.js";import{f as B,e as N,_ as D}from"./index-DCPOeUoe.js";import{v as E,w as H,x as K,y as L,z as Z}from"./element-6bs1qbFv.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-FIfOTZd3.js";import"./vxe-gaPTatyF.js";const O="/v3-admin-vite/static/logo-text-2-lXsH_ESZ.png",T=d=>(M("data-v-79326910"),d=d(),R(),d),X={class:"login-container"},$={class:"login-card"},j=T(()=>c("div",{class:"title"},[c("img",{src:O})],-1)),G={class:"content"},J=k({__name:"index",setup(d){const h=C(),g=f(null),u=f(!1),p=f(""),o=S({username:"admin",password:"12345678",code:""}),w={username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:8,max:16,message:"长度在 8 到 16 个字符",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},x=()=>{var r;(r=g.value)==null||r.validate((a,l)=>{a?(u.value=!0,N().login(o).then(()=>{h.push({path:"/"})}).catch(()=>{m(),o.password=""}).finally(()=>{u.value=!1})):console.error("表单校验不通过",l)})},m=()=>{o.code="",p.value="",B().then(r=>{p.value=r.data})};return m(),(r,a)=>{const l=s("el-input"),_=s("el-form-item"),v=s("el-icon"),V=s("el-image"),y=s("el-button"),b=s("el-form");return U(),z("div",X,[e(A,{class:"theme-switch"}),c("div",$,[j,c("div",G,[e(b,{ref_key:"loginFormRef",ref:g,model:o,rules:w,onKeyup:F(x,["enter"])},{default:t(()=>[e(_,{prop:"username"},{default:t(()=>[e(l,{modelValue:o.username,"onUpdate:modelValue":a[0]||(a[0]=n=>o.username=n),modelModifiers:{trim:!0},placeholder:"用户名",type:"text",tabindex:"1","prefix-icon":i(E),size:"large"},null,8,["modelValue","prefix-icon"])]),_:1}),e(_,{prop:"password"},{default:t(()=>[e(l,{modelValue:o.password,"onUpdate:modelValue":a[1]||(a[1]=n=>o.password=n),modelModifiers:{trim:!0},placeholder:"密码",type:"password",tabindex:"2","prefix-icon":i(H),size:"large","show-password":""},null,8,["modelValue","prefix-icon"])]),_:1}),e(_,{prop:"code"},{default:t(()=>[e(l,{modelValue:o.code,"onUpdate:modelValue":a[2]||(a[2]=n=>o.code=n),modelModifiers:{trim:!0},placeholder:"验证码",type:"text",tabindex:"3","prefix-icon":i(K),maxlength:"7",size:"large"},{append:t(()=>[e(V,{src:p.value,onClick:m,draggable:"false"},{placeholder:t(()=>[e(v,null,{default:t(()=>[e(i(L))]),_:1})]),error:t(()=>[e(v,null,{default:t(()=>[e(i(Z))]),_:1})]),_:1},8,["src"])]),_:1},8,["modelValue","prefix-icon"])]),_:1}),e(y,{loading:u.value,type:"primary",size:"large",onClick:I(x,["prevent"])},{default:t(()=>[q("登 录")]),_:1},8,["loading"])]),_:1},8,["model"])])])])}}}),oe=D(J,[["__scopeId","data-v-79326910"]]);export{oe as default};
+import{l as k,aD as C,r as f,Z as S,ag as s,m as U,p as z,U as e,q as c,O as t,u as i,a2 as I,S as q,a8 as F,aH as M,aI as R}from"./vue-edbHIJ2J.js";import{f as B,e as N,_ as D}from"./index-EHqyFSY1.js";import{v as E,w as H,x as K,y as L,z as Z}from"./element-6bs1qbFv.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-bsryQaiT.js";import"./vxe-gaPTatyF.js";const O="/v3-admin-vite/static/logo-text-2-lXsH_ESZ.png",T=d=>(M("data-v-79326910"),d=d(),R(),d),X={class:"login-container"},$={class:"login-card"},j=T(()=>c("div",{class:"title"},[c("img",{src:O})],-1)),G={class:"content"},J=k({__name:"index",setup(d){const h=C(),g=f(null),u=f(!1),p=f(""),o=S({username:"admin",password:"12345678",code:""}),w={username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:8,max:16,message:"长度在 8 到 16 个字符",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},x=()=>{var r;(r=g.value)==null||r.validate((a,l)=>{a?(u.value=!0,N().login(o).then(()=>{h.push({path:"/"})}).catch(()=>{m(),o.password=""}).finally(()=>{u.value=!1})):console.error("表单校验不通过",l)})},m=()=>{o.code="",p.value="",B().then(r=>{p.value=r.data})};return m(),(r,a)=>{const l=s("el-input"),_=s("el-form-item"),v=s("el-icon"),V=s("el-image"),y=s("el-button"),b=s("el-form");return U(),z("div",X,[e(A,{class:"theme-switch"}),c("div",$,[j,c("div",G,[e(b,{ref_key:"loginFormRef",ref:g,model:o,rules:w,onKeyup:F(x,["enter"])},{default:t(()=>[e(_,{prop:"username"},{default:t(()=>[e(l,{modelValue:o.username,"onUpdate:modelValue":a[0]||(a[0]=n=>o.username=n),modelModifiers:{trim:!0},placeholder:"用户名",type:"text",tabindex:"1","prefix-icon":i(E),size:"large"},null,8,["modelValue","prefix-icon"])]),_:1}),e(_,{prop:"password"},{default:t(()=>[e(l,{modelValue:o.password,"onUpdate:modelValue":a[1]||(a[1]=n=>o.password=n),modelModifiers:{trim:!0},placeholder:"密码",type:"password",tabindex:"2","prefix-icon":i(H),size:"large","show-password":""},null,8,["modelValue","prefix-icon"])]),_:1}),e(_,{prop:"code"},{default:t(()=>[e(l,{modelValue:o.code,"onUpdate:modelValue":a[2]||(a[2]=n=>o.code=n),modelModifiers:{trim:!0},placeholder:"验证码",type:"text",tabindex:"3","prefix-icon":i(K),maxlength:"7",size:"large"},{append:t(()=>[e(V,{src:p.value,onClick:m,draggable:"false"},{placeholder:t(()=>[e(v,null,{default:t(()=>[e(i(L))]),_:1})]),error:t(()=>[e(v,null,{default:t(()=>[e(i(Z))]),_:1})]),_:1},8,["src"])]),_:1},8,["modelValue","prefix-icon"])]),_:1}),e(y,{loading:u.value,type:"primary",size:"large",onClick:I(x,["prevent"])},{default:t(()=>[q("登 录")]),_:1},8,["loading"])]),_:1},8,["model"])])])])}}}),oe=D(J,[["__scopeId","data-v-79326910"]]);export{oe as default};
diff --git a/static/index-cWRBmFxm.js b/static/index-xq0nfXcw.js
similarity index 97%
rename from static/index-cWRBmFxm.js
rename to static/index-xq0nfXcw.js
index 14619722..7baeddd0 100644
--- a/static/index-cWRBmFxm.js
+++ b/static/index-xq0nfXcw.js
@@ -1 +1 @@
-import{c as Z,u as K,d as Q,g as W}from"./index-pPKETdvU.js";import{B as X,r as Y,C as ee,D as ae,F as le,G as te,b as A,H as ne}from"./element-6bs1qbFv.js";import{Z as R,l as oe,r as b,b as re,ag as d,ap as se,m,p as ie,P as F,M as _,O as a,U as e,u as r,S as s,q as w,T as ue,R as de}from"./vue-edbHIJ2J.js";import{_ as pe}from"./index-DCPOeUoe.js";import"./vxe-gaPTatyF.js";const ce={total:0,currentPage:1,pageSizes:[10,20,50],pageSize:10,layout:"total, sizes, prev, pager, next, jumper"};function me(z={}){const i=R({...ce,...z});return{paginationData:i,handleCurrentChange:y=>{i.currentPage=y},handleSizeChange:y=>{i.pageSize=y}}}const fe={class:"app-container"},_e={class:"toolbar-wrapper"},ge={class:"table-wrapper"},ve={class:"pager-wrapper"},he=oe({name:"ElementPlus",__name:"index",setup(z){const i=b(!1),{paginationData:o,handleCurrentChange:D,handleSizeChange:y}=me(),x={id:void 0,username:"",password:""},g=b(!1),k=b(null),u=b(JSON.parse(JSON.stringify(x))),J={username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"}]},E=()=>{var t;(t=k.value)==null||t.validate((n,v)=>{if(!n)return console.error("表单校验不通过",v);i.value=!0,(u.value.id===void 0?Z:K)(u.value).then(()=>{A.success("操作成功"),g.value=!1,C()}).finally(()=>{i.value=!1})})},$=()=>{var t;(t=k.value)==null||t.clearValidate(),u.value=JSON.parse(JSON.stringify(x))},M=t=>{ne.confirm(`正在删除用户:${t.username},确认删除?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Q(t.id).then(()=>{A.success("删除成功"),C()})})},q=t=>{g.value=!0,u.value=JSON.parse(JSON.stringify(t))},V=b([]),P=b(null),f=R({username:"",phone:""}),C=()=>{i.value=!0,W({currentPage:o.currentPage,size:o.pageSize,username:f.username||void 0,phone:f.phone||void 0}).then(({data:t})=>{o.total=t.total,V.value=t.list}).catch(()=>{V.value=[]}).finally(()=>{i.value=!1})},T=()=>{o.currentPage===1?C():o.currentPage=1},j=()=>{var t;(t=P.value)==null||t.resetFields(),T()};return re([()=>o.currentPage,()=>o.pageSize],C,{immediate:!0}),(t,n)=>{const v=d("el-input"),h=d("el-form-item"),p=d("el-button"),N=d("el-form"),O=d("el-card"),U=d("el-tooltip"),c=d("el-table-column"),S=d("el-tag"),G=d("el-table"),H=d("el-pagination"),I=d("el-dialog"),B=se("loading");return m(),ie("div",fe,[F((m(),_(O,{shadow:"never",class:"search-wrapper"},{default:a(()=>[e(N,{ref_key:"searchFormRef",ref:P,inline:!0,model:f},{default:a(()=>[e(h,{prop:"username",label:"用户名"},{default:a(()=>[e(v,{modelValue:f.username,"onUpdate:modelValue":n[0]||(n[0]=l=>f.username=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),e(h,{prop:"phone",label:"手机号"},{default:a(()=>[e(v,{modelValue:f.phone,"onUpdate:modelValue":n[1]||(n[1]=l=>f.phone=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),e(h,null,{default:a(()=>[e(p,{type:"primary",icon:r(X),onClick:T},{default:a(()=>[s("查询")]),_:1},8,["icon"]),e(p,{icon:r(Y),onClick:j},{default:a(()=>[s("重置")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"])]),_:1})),[[B,i.value]]),F((m(),_(O,{shadow:"never"},{default:a(()=>[w("div",_e,[w("div",null,[e(p,{type:"primary",icon:r(ee),onClick:n[2]||(n[2]=l=>g.value=!0)},{default:a(()=>[s("新增用户")]),_:1},8,["icon"]),e(p,{type:"danger",icon:r(ae)},{default:a(()=>[s("批量删除")]),_:1},8,["icon"])]),w("div",null,[e(U,{content:"下载"},{default:a(()=>[e(p,{type:"primary",icon:r(le),circle:""},null,8,["icon"])]),_:1}),e(U,{content:"刷新当前页"},{default:a(()=>[e(p,{type:"primary",icon:r(te),circle:"",onClick:C},null,8,["icon"])]),_:1})])]),w("div",ge,[e(G,{data:V.value},{default:a(()=>[e(c,{type:"selection",width:"50",align:"center"}),e(c,{prop:"username",label:"用户名",align:"center"}),e(c,{prop:"roles",label:"角色",align:"center"},{default:a(l=>[l.row.roles==="admin"?(m(),_(S,{key:0,effect:"plain"},{default:a(()=>[s("admin")]),_:1})):(m(),_(S,{key:1,type:"warning",effect:"plain"},{default:a(()=>[s(ue(l.row.roles),1)]),_:2},1024))]),_:1}),e(c,{prop:"phone",label:"手机号",align:"center"}),e(c,{prop:"email",label:"邮箱",align:"center"}),e(c,{prop:"status",label:"状态",align:"center"},{default:a(l=>[l.row.status?(m(),_(S,{key:0,type:"success",effect:"plain"},{default:a(()=>[s("启用")]),_:1})):(m(),_(S,{key:1,type:"danger",effect:"plain"},{default:a(()=>[s("禁用")]),_:1}))]),_:1}),e(c,{prop:"createTime",label:"创建时间",align:"center"}),e(c,{fixed:"right",label:"操作",width:"150",align:"center"},{default:a(l=>[e(p,{type:"primary",text:"",bg:"",size:"small",onClick:L=>q(l.row)},{default:a(()=>[s("修改")]),_:2},1032,["onClick"]),e(p,{type:"danger",text:"",bg:"",size:"small",onClick:L=>M(l.row)},{default:a(()=>[s("删除")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),w("div",ve,[e(H,{background:"",layout:r(o).layout,"page-sizes":r(o).pageSizes,total:r(o).total,"page-size":r(o).pageSize,currentPage:r(o).currentPage,onSizeChange:r(y),onCurrentChange:r(D)},null,8,["layout","page-sizes","total","page-size","currentPage","onSizeChange","onCurrentChange"])])]),_:1})),[[B,i.value]]),e(I,{modelValue:g.value,"onUpdate:modelValue":n[6]||(n[6]=l=>g.value=l),title:u.value.id===void 0?"新增用户":"修改用户",onClosed:$,width:"30%"},{footer:a(()=>[e(p,{onClick:n[5]||(n[5]=l=>g.value=!1)},{default:a(()=>[s("取消")]),_:1}),e(p,{type:"primary",onClick:E,loading:i.value},{default:a(()=>[s("确认")]),_:1},8,["loading"])]),default:a(()=>[e(N,{ref_key:"formRef",ref:k,model:u.value,rules:J,"label-width":"100px","label-position":"left"},{default:a(()=>[e(h,{prop:"username",label:"用户名"},{default:a(()=>[e(v,{modelValue:u.value.username,"onUpdate:modelValue":n[3]||(n[3]=l=>u.value.username=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),u.value.id===void 0?(m(),_(h,{key:0,prop:"password",label:"密码"},{default:a(()=>[e(v,{modelValue:u.value.password,"onUpdate:modelValue":n[4]||(n[4]=l=>u.value.password=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1})):de("",!0)]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}}),ke=pe(he,[["__scopeId","data-v-994dbbd1"]]);export{ke as default};
+import{c as Z,u as K,d as Q,g as W}from"./index-OGsdf-Mv.js";import{B as X,r as Y,C as ee,D as ae,F as le,G as te,b as A,H as ne}from"./element-6bs1qbFv.js";import{Z as R,l as oe,r as b,b as re,ag as d,ap as se,m,p as ie,P as F,M as _,O as a,U as e,u as r,S as s,q as w,T as ue,R as de}from"./vue-edbHIJ2J.js";import{_ as pe}from"./index-EHqyFSY1.js";import"./vxe-gaPTatyF.js";const ce={total:0,currentPage:1,pageSizes:[10,20,50],pageSize:10,layout:"total, sizes, prev, pager, next, jumper"};function me(z={}){const i=R({...ce,...z});return{paginationData:i,handleCurrentChange:y=>{i.currentPage=y},handleSizeChange:y=>{i.pageSize=y}}}const fe={class:"app-container"},_e={class:"toolbar-wrapper"},ge={class:"table-wrapper"},ve={class:"pager-wrapper"},he=oe({name:"ElementPlus",__name:"index",setup(z){const i=b(!1),{paginationData:o,handleCurrentChange:D,handleSizeChange:y}=me(),x={id:void 0,username:"",password:""},g=b(!1),k=b(null),u=b(JSON.parse(JSON.stringify(x))),J={username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"}]},E=()=>{var t;(t=k.value)==null||t.validate((n,v)=>{if(!n)return console.error("表单校验不通过",v);i.value=!0,(u.value.id===void 0?Z:K)(u.value).then(()=>{A.success("操作成功"),g.value=!1,C()}).finally(()=>{i.value=!1})})},$=()=>{var t;(t=k.value)==null||t.clearValidate(),u.value=JSON.parse(JSON.stringify(x))},M=t=>{ne.confirm(`正在删除用户:${t.username},确认删除?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Q(t.id).then(()=>{A.success("删除成功"),C()})})},q=t=>{g.value=!0,u.value=JSON.parse(JSON.stringify(t))},V=b([]),P=b(null),f=R({username:"",phone:""}),C=()=>{i.value=!0,W({currentPage:o.currentPage,size:o.pageSize,username:f.username||void 0,phone:f.phone||void 0}).then(({data:t})=>{o.total=t.total,V.value=t.list}).catch(()=>{V.value=[]}).finally(()=>{i.value=!1})},T=()=>{o.currentPage===1?C():o.currentPage=1},j=()=>{var t;(t=P.value)==null||t.resetFields(),T()};return re([()=>o.currentPage,()=>o.pageSize],C,{immediate:!0}),(t,n)=>{const v=d("el-input"),h=d("el-form-item"),p=d("el-button"),N=d("el-form"),O=d("el-card"),U=d("el-tooltip"),c=d("el-table-column"),S=d("el-tag"),G=d("el-table"),H=d("el-pagination"),I=d("el-dialog"),B=se("loading");return m(),ie("div",fe,[F((m(),_(O,{shadow:"never",class:"search-wrapper"},{default:a(()=>[e(N,{ref_key:"searchFormRef",ref:P,inline:!0,model:f},{default:a(()=>[e(h,{prop:"username",label:"用户名"},{default:a(()=>[e(v,{modelValue:f.username,"onUpdate:modelValue":n[0]||(n[0]=l=>f.username=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),e(h,{prop:"phone",label:"手机号"},{default:a(()=>[e(v,{modelValue:f.phone,"onUpdate:modelValue":n[1]||(n[1]=l=>f.phone=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),e(h,null,{default:a(()=>[e(p,{type:"primary",icon:r(X),onClick:T},{default:a(()=>[s("查询")]),_:1},8,["icon"]),e(p,{icon:r(Y),onClick:j},{default:a(()=>[s("重置")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"])]),_:1})),[[B,i.value]]),F((m(),_(O,{shadow:"never"},{default:a(()=>[w("div",_e,[w("div",null,[e(p,{type:"primary",icon:r(ee),onClick:n[2]||(n[2]=l=>g.value=!0)},{default:a(()=>[s("新增用户")]),_:1},8,["icon"]),e(p,{type:"danger",icon:r(ae)},{default:a(()=>[s("批量删除")]),_:1},8,["icon"])]),w("div",null,[e(U,{content:"下载"},{default:a(()=>[e(p,{type:"primary",icon:r(le),circle:""},null,8,["icon"])]),_:1}),e(U,{content:"刷新当前页"},{default:a(()=>[e(p,{type:"primary",icon:r(te),circle:"",onClick:C},null,8,["icon"])]),_:1})])]),w("div",ge,[e(G,{data:V.value},{default:a(()=>[e(c,{type:"selection",width:"50",align:"center"}),e(c,{prop:"username",label:"用户名",align:"center"}),e(c,{prop:"roles",label:"角色",align:"center"},{default:a(l=>[l.row.roles==="admin"?(m(),_(S,{key:0,effect:"plain"},{default:a(()=>[s("admin")]),_:1})):(m(),_(S,{key:1,type:"warning",effect:"plain"},{default:a(()=>[s(ue(l.row.roles),1)]),_:2},1024))]),_:1}),e(c,{prop:"phone",label:"手机号",align:"center"}),e(c,{prop:"email",label:"邮箱",align:"center"}),e(c,{prop:"status",label:"状态",align:"center"},{default:a(l=>[l.row.status?(m(),_(S,{key:0,type:"success",effect:"plain"},{default:a(()=>[s("启用")]),_:1})):(m(),_(S,{key:1,type:"danger",effect:"plain"},{default:a(()=>[s("禁用")]),_:1}))]),_:1}),e(c,{prop:"createTime",label:"创建时间",align:"center"}),e(c,{fixed:"right",label:"操作",width:"150",align:"center"},{default:a(l=>[e(p,{type:"primary",text:"",bg:"",size:"small",onClick:L=>q(l.row)},{default:a(()=>[s("修改")]),_:2},1032,["onClick"]),e(p,{type:"danger",text:"",bg:"",size:"small",onClick:L=>M(l.row)},{default:a(()=>[s("删除")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),w("div",ve,[e(H,{background:"",layout:r(o).layout,"page-sizes":r(o).pageSizes,total:r(o).total,"page-size":r(o).pageSize,currentPage:r(o).currentPage,onSizeChange:r(y),onCurrentChange:r(D)},null,8,["layout","page-sizes","total","page-size","currentPage","onSizeChange","onCurrentChange"])])]),_:1})),[[B,i.value]]),e(I,{modelValue:g.value,"onUpdate:modelValue":n[6]||(n[6]=l=>g.value=l),title:u.value.id===void 0?"新增用户":"修改用户",onClosed:$,width:"30%"},{footer:a(()=>[e(p,{onClick:n[5]||(n[5]=l=>g.value=!1)},{default:a(()=>[s("取消")]),_:1}),e(p,{type:"primary",onClick:E,loading:i.value},{default:a(()=>[s("确认")]),_:1},8,["loading"])]),default:a(()=>[e(N,{ref_key:"formRef",ref:k,model:u.value,rules:J,"label-width":"100px","label-position":"left"},{default:a(()=>[e(h,{prop:"username",label:"用户名"},{default:a(()=>[e(v,{modelValue:u.value.username,"onUpdate:modelValue":n[3]||(n[3]=l=>u.value.username=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1}),u.value.id===void 0?(m(),_(h,{key:0,prop:"password",label:"密码"},{default:a(()=>[e(v,{modelValue:u.value.password,"onUpdate:modelValue":n[4]||(n[4]=l=>u.value.password=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1})):de("",!0)]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}}),ke=pe(he,[["__scopeId","data-v-994dbbd1"]]);export{ke as default};
diff --git a/static/index.vue_vue_type_script_setup_true_lang-FIfOTZd3.js b/static/index.vue_vue_type_script_setup_true_lang-bsryQaiT.js
similarity index 92%
rename from static/index.vue_vue_type_script_setup_true_lang-FIfOTZd3.js
rename to static/index.vue_vue_type_script_setup_true_lang-bsryQaiT.js
index 193823b1..d176ddda 100644
--- a/static/index.vue_vue_type_script_setup_true_lang-FIfOTZd3.js
+++ b/static/index.vue_vue_type_script_setup_true_lang-bsryQaiT.js
@@ -1 +1 @@
-import{h as k}from"./index-DCPOeUoe.js";import{A as g}from"./element-6bs1qbFv.js";import{l as h,ag as o,m as l,M as m,O as e,U as n,p as C,a7 as x,u as t,F as B,q as s,T}from"./vue-edbHIJ2J.js";const V=h({__name:"index",setup(b){const{themeList:c,activeThemeName:d,setTheme:r}=k();return(v,N)=>{const _=o("el-icon"),p=o("el-tooltip"),i=o("el-dropdown-item"),u=o("el-dropdown-menu"),f=o("el-dropdown");return l(),m(f,{trigger:"click",onCommand:t(r)},{dropdown:e(()=>[n(u,null,{default:e(()=>[(l(!0),C(B,null,x(t(c),(a,w)=>(l(),m(i,{key:w,disabled:t(d)===a.name,command:a.name},{default:e(()=>[s("span",null,T(a.title),1)]),_:2},1032,["disabled","command"]))),128))]),_:1})]),default:e(()=>[s("div",null,[n(p,{effect:"dark",content:"主题模式",placement:"bottom"},{default:e(()=>[n(_,{size:20},{default:e(()=>[n(t(g))]),_:1})]),_:1})])]),_:1},8,["onCommand"])}}});export{V as _};
+import{h as k}from"./index-EHqyFSY1.js";import{A as g}from"./element-6bs1qbFv.js";import{l as h,ag as o,m as l,M as m,O as e,U as n,p as C,a7 as x,u as t,F as B,q as s,T}from"./vue-edbHIJ2J.js";const V=h({__name:"index",setup(b){const{themeList:c,activeThemeName:d,setTheme:r}=k();return(v,N)=>{const _=o("el-icon"),p=o("el-tooltip"),i=o("el-dropdown-item"),u=o("el-dropdown-menu"),f=o("el-dropdown");return l(),m(f,{trigger:"click",onCommand:t(r)},{dropdown:e(()=>[n(u,null,{default:e(()=>[(l(!0),C(B,null,x(t(c),(a,w)=>(l(),m(i,{key:w,disabled:t(d)===a.name,command:a.name},{default:e(()=>[s("span",null,T(a.title),1)]),_:2},1032,["disabled","command"]))),128))]),_:1})]),default:e(()=>[s("div",null,[n(p,{effect:"dark",content:"主题模式",placement:"bottom"},{default:e(()=>[n(_,{size:20},{default:e(()=>[n(t(g))]),_:1})]),_:1})])]),_:1},8,["onCommand"])}}});export{V as _};
diff --git a/static/page-AUJecNsA.js b/static/page-C-TEXJvN.js
similarity index 76%
rename from static/page-AUJecNsA.js
rename to static/page-C-TEXJvN.js
index 34647f0d..f0f27ed5 100644
--- a/static/page-AUJecNsA.js
+++ b/static/page-C-TEXJvN.js
@@ -1 +1 @@
-import{S as a}from"./SwitchRoles-uAMobUs0.js";import{l as o,ag as s,m as n,p as r,U as e,O as p,S as c}from"./vue-edbHIJ2J.js";import{_}from"./index-DCPOeUoe.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const m={class:"app-container"},i=o({__name:"page",setup(l){return(d,f)=>{const t=s("el-tag");return n(),r("div",m,[e(a),e(t,{type:"warning",size:"large"},{default:p(()=>[c("当前页面只有 admin 权限可见,切换权限后将不能进入该页面")]),_:1})])}}}),w=_(i,[["__scopeId","data-v-44bb85fa"]]);export{w as default};
+import{S as a}from"./SwitchRoles-VQKajN7y.js";import{l as o,ag as s,m as n,p as r,U as e,O as p,S as c}from"./vue-edbHIJ2J.js";import{_}from"./index-EHqyFSY1.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const m={class:"app-container"},i=o({__name:"page",setup(l){return(d,f)=>{const t=s("el-tag");return n(),r("div",m,[e(a),e(t,{type:"warning",size:"large"},{default:p(()=>[c("当前页面只有 admin 权限可见,切换权限后将不能进入该页面")]),_:1})])}}}),w=_(i,[["__scopeId","data-v-44bb85fa"]]);export{w as default};
diff --git a/static/use-watermark-rclhIKm3.js b/static/use-watermark-R-hRyPa0.js
similarity index 96%
rename from static/use-watermark-rclhIKm3.js
rename to static/use-watermark-R-hRyPa0.js
index 3e58eb79..a0fab645 100644
--- a/static/use-watermark-rclhIKm3.js
+++ b/static/use-watermark-R-hRyPa0.js
@@ -1 +1 @@
-import{u as f}from"./useWatermark-cvdbE1cJ.js";import{l as C,r as v,ag as m,m as y,p as b,q as i,U as t,O as a,u as r,S as l,aH as W,aI as g}from"./vue-edbHIJ2J.js";import{_ as w}from"./index-DCPOeUoe.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const x=n=>(W("data-v-dbeea05d"),n=n(),g(),n),I={class:"app-container"},$=x(()=>i("h4",null," 该示例是演示:通过调用 hook,开启或关闭水印, 支持局部、全局、自定义样式(颜色、透明度、字体大小、字体、倾斜角度等),并自带防御(防删、防隐藏)和自适应功能 ",-1)),S=C({__name:"use-watermark",setup(n){const p=v(null),{setWatermark:c,clearWatermark:_}=f(p),{setWatermark:d,clearWatermark:k}=f();return(B,e)=>{const o=m("el-button"),u=m("el-button-group");return y(),b("div",I,[$,i("div",{ref_key:"localRef",ref:p,class:"local"},null,512),t(u,null,{default:a(()=>[t(o,{type:"primary",onClick:e[0]||(e[0]=s=>r(c)("局部水印",{color:"#409eff"}))},{default:a(()=>[l("创建局部水印")]),_:1}),t(o,{type:"warning",onClick:e[1]||(e[1]=s=>r(c)("没有防御功能的局部水印",{color:"#e6a23c",defense:!1}))},{default:a(()=>[l(" 关闭防御功能 ")]),_:1}),t(o,{type:"danger",onClick:r(_)},{default:a(()=>[l("清除局部水印")]),_:1},8,["onClick"])]),_:1}),t(u,null,{default:a(()=>[t(o,{type:"primary",onClick:e[2]||(e[2]=s=>r(d)("全局水印",{color:"#409eff"}))},{default:a(()=>[l("创建全局水印")]),_:1}),t(o,{type:"warning",onClick:e[3]||(e[3]=s=>r(d)("没有防御功能的全局水印",{color:"#e6a23c",defense:!1}))},{default:a(()=>[l(" 关闭防御功能 ")]),_:1}),t(o,{type:"danger",onClick:r(k)},{default:a(()=>[l("清除全局水印")]),_:1},8,["onClick"])]),_:1})])}}}),E=w(S,[["__scopeId","data-v-dbeea05d"]]);export{E as default};
+import{u as f}from"./useWatermark-cvdbE1cJ.js";import{l as C,r as v,ag as m,m as y,p as b,q as i,U as t,O as a,u as r,S as l,aH as W,aI as g}from"./vue-edbHIJ2J.js";import{_ as w}from"./index-EHqyFSY1.js";import"./element-6bs1qbFv.js";import"./vxe-gaPTatyF.js";const x=n=>(W("data-v-dbeea05d"),n=n(),g(),n),I={class:"app-container"},$=x(()=>i("h4",null," 该示例是演示:通过调用 hook,开启或关闭水印, 支持局部、全局、自定义样式(颜色、透明度、字体大小、字体、倾斜角度等),并自带防御(防删、防隐藏)和自适应功能 ",-1)),S=C({__name:"use-watermark",setup(n){const p=v(null),{setWatermark:c,clearWatermark:_}=f(p),{setWatermark:d,clearWatermark:k}=f();return(B,e)=>{const o=m("el-button"),u=m("el-button-group");return y(),b("div",I,[$,i("div",{ref_key:"localRef",ref:p,class:"local"},null,512),t(u,null,{default:a(()=>[t(o,{type:"primary",onClick:e[0]||(e[0]=s=>r(c)("局部水印",{color:"#409eff"}))},{default:a(()=>[l("创建局部水印")]),_:1}),t(o,{type:"warning",onClick:e[1]||(e[1]=s=>r(c)("没有防御功能的局部水印",{color:"#e6a23c",defense:!1}))},{default:a(()=>[l(" 关闭防御功能 ")]),_:1}),t(o,{type:"danger",onClick:r(_)},{default:a(()=>[l("清除局部水印")]),_:1},8,["onClick"])]),_:1}),t(u,null,{default:a(()=>[t(o,{type:"primary",onClick:e[2]||(e[2]=s=>r(d)("全局水印",{color:"#409eff"}))},{default:a(()=>[l("创建全局水印")]),_:1}),t(o,{type:"warning",onClick:e[3]||(e[3]=s=>r(d)("没有防御功能的全局水印",{color:"#e6a23c",defense:!1}))},{default:a(()=>[l(" 关闭防御功能 ")]),_:1}),t(o,{type:"danger",onClick:r(k)},{default:a(()=>[l("清除全局水印")]),_:1},8,["onClick"])]),_:1})])}}}),E=w(S,[["__scopeId","data-v-dbeea05d"]]);export{E as default};