import{m as t,h as l,r as o}from"./index.e80c366d.js";function s(){return{columns:t([{label:"\u540D\u79F0",prop:"menu_name",minWidth:200,align:"left",showOverflowTooltip:!0},{label:"\u56FE\u6807",prop:"menu_ico",width:80,showOverflowTooltip:!0,cellRenderer:({row:e})=>l(o("IconifyIconOnline"),{icon:e.menu_ico},null)},{label:"path",prop:"menu_route",minWidth:180,showOverflowTooltip:!0,align:"left"},{label:"\u6743\u91CD",prop:"weight",showOverflowTooltip:!0,width:60},{label:"\u7C7B\u578B",prop:"is_menu",minWidth:80,showOverflowTooltip:!0,cellRenderer:({row:e})=>l(o("el-tag"),{size:"small",type:e.is_menu+""=="1"?"success":"danger",effect:"plain"},{default:()=>[e.is_menu+""=="1"?"\u83DC\u5355":"\u9875\u9762"]})},{label:"\u72B6\u6001",prop:"status",minWidth:80,showOverflowTooltip:!0,cellRenderer:({row:e,props:i})=>l(o("el-tag"),{size:"small",type:e.status+""=="1"?"success":"danger",effect:"plain"},{default:()=>[e.status+""=="0"?"\u7981\u7528":"\u542F\u7528"]})},{label:"\u9875\u9762\u8DEF\u5F84",prop:"menu_url",minWidth:180,showOverflowTooltip:!0,align:"left"},{label:"\u64CD\u4F5C",fixed:"right",width:180,showOverflowTooltip:!0,slot:"operation"}])}}export{s as useColumns};
