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