fix: switch not update

pull/2539/head
tanjinzhou 4 years ago
parent 52ffcdacc9
commit 4e5d26ffb3

@ -1 +1 @@
Subproject commit dbe3af5b20e6599a78a9a7fba7c13258b36646a7 Subproject commit c18fda17a11855f340d0f74de1d2f7b8ef591888

@ -73,12 +73,8 @@ const Switch = {
class: classes, class: classes,
ref: this.saveRef, ref: this.saveRef,
}; };
const comp = <VcSwitch {...switchProps} />;
return ( return <Wave insertExtraNode>{comp}</Wave>;
<Wave insertExtraNode>
<VcSwitch {...switchProps} />
</Wave>
);
}, },
}; };

Loading…
Cancel
Save