import{d,r as _,c as o,e as r,f as p,h as e,i as l,g as n,t as m}from"./index.0308b213.js";const b={class:"table"},f=n("div",{class:"table-operation-btn"},null,-1),x=d({setup(h){const u=_([{name:"\u5957\u9910aaaa",isBuy:1},{name:"\u5957\u9910bbb",isBuy:0}]);return(v,w)=>{const t=o("el-table-column"),s=o("el-switch"),i=o("el-table");return r(),p("div",b,[e(i,{data:u.value},{default:l(()=>[e(t,{type:"selection",width:"55"}),e(t,{label:"\u5957\u9910\u540D\u79F0"},{default:l(a=>[n("span",null,m(a.row.name),1)]),_:1}),e(t,{label:"\u662F\u5426\u8D2D\u4E70"},{default:l(a=>[e(s,{modelValue:a.row.isBuy,"onUpdate:modelValue":c=>a.row.isBuy=c,size:"large",width:60,disabled:"","inline-prompt":"","active-text":"\u662F","inactive-text":"\u5426","active-value":1,"inactive-value":0},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(t,{label:"\u64CD\u4F5C",width:"180px"},{default:l(a=>[f]),_:1})]),_:1},8,["data"])])}}});export{x as default};
