补强摘要文本链接 title 能力

This commit is contained in:
萝卜
2026-03-19 16:19:05 +08:00
parent f4f4be3268
commit e6308d2b8d
2 changed files with 35 additions and 1 deletions

View File

@@ -1 +1 @@
<a data-role="{{ $role ?? '' }}" @if(!empty($ariaLabel ?? '')) aria-label="{{ $ariaLabel }}" @endif class="{{ $class ?? 'link' }}" href="{!! $href ?? '#' !!}">{{ $label ?? '' }}</a>
<a data-role="{{ $role ?? '' }}" @if(!empty($ariaLabel ?? '')) aria-label="{{ $ariaLabel }}" @endif @if(!empty($title ?? '')) title="{{ $title }}" @endif class="{{ $class ?? 'link' }}" href="{!! $href ?? '#' !!}">{{ $label ?? '' }}</a>