mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-29 09:50:16 +00:00
2 lines
708 B
JavaScript
2 lines
708 B
JavaScript
import{b as h,c as o}from"./index-cf9a2dd7.js";import{C as t}from"./event-f85d77b0.js";import{d as l,b as k,e as d,f as m,h as u,n as f,u as n,_ as i,l as _}from"./plugin-vue_export-helper-85a4d40b.js";const g=h({checked:{type:Boolean,default:!1}}),C={"update:checked":e=>o(e),[t]:e=>o(e)},E=l({name:"ElCheckTag"}),T=l({...E,props:g,emits:C,setup(e,{emit:c}){const r=e,a=k("check-tag"),p=()=>{const s=!r.checked;c(t,s),c("update:checked",s)};return(s,B)=>(d(),m("span",{class:f([n(a).b(),n(a).is("checked",s.checked)]),onClick:p},[u(s.$slots,"default")],2))}});var b=i(T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const P=_(b);export{P as E};
|