From ff7084ed9dcf852bf5da934a458f3e746e1c8642 Mon Sep 17 00:00:00 2001 From: wanglinfang2014 Date: Mon, 8 May 2023 15:19:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nav=E6=94=B6=E7=BA=B3=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=20(#6821?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: wanglinfang --- packages/amis/src/renderers/Nav.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/amis/src/renderers/Nav.tsx b/packages/amis/src/renderers/Nav.tsx index 42049f93e..e0cf97a9d 100644 --- a/packages/amis/src/renderers/Nav.tsx +++ b/packages/amis/src/renderers/Nav.tsx @@ -103,7 +103,7 @@ export interface NavOverflow { /** * 菜单触发按钮的图标 - * @default "fa fa-ellipsis" + * @default "fa fa-ellipsis-h" */ overflowIndicator?: SchemaIcon; @@ -597,7 +597,7 @@ export class Navigation extends React.Component< if (isOverflow) { const { maxVisibleCount, - overflowIndicator = 'fa fa-ellipsis', + overflowIndicator = 'fa fa-ellipsis-h', overflowLabel, overflowClassName } = link.overflow; @@ -613,7 +613,7 @@ export class Navigation extends React.Component< {getIcon(overflowIndicator!) ? ( ) : ( - generateIcon(cx, overflowIndicator, 'Nav-itemIcon') + generateIcon(cx, overflowIndicator, 'Nav-item-icon') )} {overflowLabel && isObject(overflowLabel) ? render('nav-overflow-label', overflowLabel) @@ -690,7 +690,7 @@ export class Navigation extends React.Component< let overflowedIndicator = null; if (overflow && isObject(overflow) && overflow.enable) { const { - overflowIndicator = 'fa fa-ellipsis', + overflowIndicator = 'fa fa-ellipsis-h', overflowLabel, overflowClassName } = overflow;