text: import{y as e,ak as a,a as n,r as t,j as l,u as r,Z as s,B as u,F as o,a2 as i,a9 as p,J as d,v as c}from"./vendor.880b4c6c.js";import{P as m}from"./index.cf1d4223.js";import"./index.a33a5e4d.js";/* empty css              *//* empty css              */import"./onMountedOrActivated.8f899bfb.js";import"./useWindowSizeFn.564cf32e.js";import"./useContentViewHeight.d4b428eb.js";var f=e({name:"TestMenu",components:{PageWrapper:m,Input:a},setup(){const{currentRoute:e,replace:a}=n(),s=t("");return{value:s,handleClickGo:()=>{const{name:n}=r(e);a({name:n,params:{id:r(s)}})},params:l((()=>r(e).params))}}});const v=c("br",null,null,-1),j=p(" 输入参数切换路由： "),b=p("切换路由"),k=c("br",null,null,-1),x=p(" 切换路由后 "),C=c("ul",null,[c("li",null,"可刷新页面测试路由参数情况是否正常。"),c("li",null,"可于左侧菜单中展开子菜单，点击测试参数是否携带正常。")],-1);f.render=function(e,a,n,t,l,r){const m=s("Input"),f=s("a-button"),h=s("PageWrapper");return u(),o(h,{title:"带参数菜单（路由）",content:"支持多级参数"},{default:i((()=>[p(" 当前参数："+d(e.params)+" ",1),v,j,c(m,{value:e.value,"onUpdate:value":a[1]||(a[1]=a=>e.value=a),placeholder:"建议为url标准字符，输入后点击切换"},null,8,["value"]),c(f,{type:"primary",onClick:e.handleClickGo},{default:i((()=>[b])),_:1},8,["onClick"]),k,x,C])),_:1})};export default f;
  