mirror of
https://github.com/youzan/vant.git
synced 2026-05-17 01:00:36 +08:00
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