style: lint code

pull/5340/head 3.1.0-rc.0
tangjinzhou 2022-03-15 15:35:17 +08:00
parent fe7ee5b9a4
commit 8f47732b45
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ export default defineComponent({
};
const getAttributeName = () => {
const { insertExtraNode } = props;
return insertExtraNode ? `${prefixCls.value}-click-animating` : `${prefixCls.value}-click-animating-without-extra-node`;
return insertExtraNode
? `${prefixCls.value}-click-animating`
: `${prefixCls.value}-click-animating-without-extra-node`;
};
const onClick = (node: HTMLElement, waveColor: string) => {
const { insertExtraNode, disabled } = props;