fix(button): link and text should not have wave (#6226)

pull/6227/head
zkwolf 2023-02-02 18:08:36 +08:00 committed by GitHub
parent dd57d1e305
commit 989bedda47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -209,14 +209,10 @@ export default defineComponent({
); );
if (!isUnBorderedButtonType(type)) { if (!isUnBorderedButtonType(type)) {
buttonNode = <Wave disabled={!!innerLoading.value}>{buttonNode}</Wave>; buttonNode = <Wave ref="wave" disabled={!!innerLoading.value}>{buttonNode}</Wave>;
} }
return wrapSSR( return wrapSSR(buttonNode);
<Wave ref="wave" disabled={!!innerLoading.value}>
{buttonNode}
</Wave>,
);
}; };
}, },
}); });