Skip to content

Commit

Permalink
fix(admin/components/button): 取消 LinkButton 的 replace 属性
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Sep 9, 2024
1 parent caf1954 commit c490024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/components/button/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function(props: Props) {
props = mergeProps(defaultProps, props);

// A.href 无法设置为 javascript:void(0)
return <A href={props.disabled ? '' : props.href} replace={!props.disabled} accessKey={props.accessKey} title={props.title} classList={{
return <A href={props.disabled ? '' : props.href} accessKey={props.accessKey} title={props.title} classList={{
'c--button': true,
'c--icon-container': true,
'c--icon': props.icon,
Expand Down

0 comments on commit c490024

Please sign in to comment.