fix(button): link and text should not have wave (#6226)
parent
dd57d1e305
commit
989bedda47
|
@ -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>,
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue