← Back
Editing: index156.js
import{u as e,fj as s,bm as o,a7 as l}from"./utils-lib.js?v=VERSION_NUMBER";import{c as a,q as t,v as r,e as i,x as n}from"./base-lib.js?v=VERSION_NUMBER";import{u as m,h as p}from"./controller.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";import"./useStore.js?v=VERSION_NUMBER";import"./config.js?v=VERSION_NUMBER";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};
Save File
Cancel