import{d as l,r as o,P as r,c as s,F as n,S as g}from"./vendor.925c905e.js";const h="_tag_18tjw_1";var m={tag:h},f=l({name:"tagItem",emits:["searchTag"],props:{title:{type:String,default:""},isChiose:{type:Boolean,default:!1},item:{type:Object,default:{isCheck:!1}}},setup(a,i){const e=o({title:a.title,isCheck:a.item.isCheck}),c=t=>{i.emit("searchTag",t)};return r(()=>a.item,t=>{console.log(t),e.isCheck=t.isCheck},{deep:!0}),()=>s(n,null,[s(g,{effect:e.isCheck?"dark":"light",onClick:()=>c(e.title),class:m.tag},{default:()=>[e.title]})])}});export{f as t};
