diff --git a/packages/renderless/src/tag/index.ts b/packages/renderless/src/tag/index.ts index fa4272d3a3..04df277229 100644 --- a/packages/renderless/src/tag/index.ts +++ b/packages/renderless/src/tag/index.ts @@ -24,8 +24,7 @@ export const handleClose = export const handleClick = ({ emit, props, parent, state }: Pick) => (event: Event) => { - // pc端没有selectable属性,不能以取反判断,会阻止pc的点击事件 - if (props.selectable || props.disabled) return + if (props.disabled) return parent.$parent && parent.$parent.tagSelectable && event.stopPropagation() state.selected = !state.selected