import{u as e,fO as s,bw as o,ao as l}from"./utils-lib.js?v=1761009159";import{c as a,v as t,x as r,e as i,y as n}from"./base-lib.js?v=1761009159";import{u as m,h as p}from"./controller.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useStore.js?v=1761009159";import"./config.js?v=1761009159";const u={class:"p-[16px]"},c=a({__name:"index",setup(a){const{isRefreshMenu:c}=e(),{BtTable:d}=s({request:m,columns:[{label:"菜单栏目",prop:"title"},{label:"是否显示",showOverflowTooltip:!1,align:"right",render:e=>["首页","软件商店","设置","退出"].includes(e.title)?"不可操作":i(o,{modelValue:e.show,"onUpdate:modelValue":s=>e.show=s,size:"small",onChange:()=>p(e)},null)}],extension:[l(c)]});return(e,s)=>(t(),r("div",u,[i(n(d),{class:"menu-set-table","row-key":"id","tree-props":{children:"children"},"max-height":"360"})]))}});export{c as default};
