fix(ActionSheet): incorrect behavior when clicking disabled option

This commit is contained in:
chenjiahan
2020-11-13 15:26:27 +08:00
parent 9240cd128f
commit 9965986869
+4
View File
@@ -98,6 +98,10 @@ export default createComponent({
);
const onClick = () => {
if (disabled || loading) {
return;
}
if (callback) {
callback(item);
}