fix(ActionSheet): incorrect behavior when clicking disabled option
This commit is contained in:
@@ -98,6 +98,10 @@ export default createComponent({
|
||||
);
|
||||
|
||||
const onClick = () => {
|
||||
if (disabled || loading) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (callback) {
|
||||
callback(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user