import{d as r,f as p,r as _,a4 as g,h as v,o as i,j as d,aA as f,v as m}from"./index-9PRMimni.js";const h={class:"togglePage"},x=r({__name:"TogglePage",setup(b){const l=p(),o=_(["/login-v1","/login-v2","/login-v3","/login-v4"]),n=g(()=>{const e=o.value.findIndex(a=>l.path===a);return e<0?2:e}),t=[{label:"登录模版1",value:0},{label:"登录模版2",value:1},{label:"登录模版3",value:2},{label:"登录模版4",value:3}];function s(e){window.location.href=o.value[e]}return(e,a)=>{const u=f;return i(),v("div",h,[d(u,{value:n.value,"onUpdate:value":[a[0]||(a[0]=c=>n.value=c),s],options:t,placeholder:"切换登录模版"},null,8,["value"])])}}}),k=m(x,[["__scopeId","data-v-14633e72"]]);export{k as default};
