Skip to content

Commit 59dbb07

Browse files
authored
fix link's condition for disabled style
1 parent 2910c88 commit 59dbb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/link/link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class Link extends SuperComponent {
5959
classList.push(`${name}--underline`);
6060
}
6161
if (
62-
(navigatorProps && !navigatorProps.url && !['navigateBack', 'exit'].includes(navigatorProps.openType)) ||
62+
(navigatorProps && !navigatorProps.url && !navigatorProps.appId && !navigatorProps.shortLink && !['navigateBack', 'exit'].includes(navigatorProps.openType)) ||
6363
disabled
6464
) {
6565
classList.push(`${name}--disabled`);

0 commit comments

Comments
 (0)