提交 02e1d620 编写于 作者: D DCloud_LXH

fix: change navigator event target

上级 bbbcb840
......@@ -110,17 +110,13 @@ export default /*#__PURE__*/ defineBuiltInComponent({
const { hoverClass, url } = props
const hasHoverClass = props.hoverClass && props.hoverClass !== 'none'
return (
<a
class="navigator-wrap"
href={url}
onClick={onEventPrevent}
{...$listeners.value}
>
<a class="navigator-wrap" href={url} onClick={onEventPrevent}>
<uni-navigator
class={hasHoverClass && hovering.value ? hoverClass : ''}
{...(hasHoverClass && binding)}
{...$attrs.value}
{...$excludeAttrs.value}
{...$listeners.value}
{...{
[__scopeId]: '',
}}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册