mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[bugfix] disabled property in checkbox (#425)
This commit is contained in:
@@ -89,9 +89,7 @@ export default create({
|
||||
},
|
||||
|
||||
isDisabled() {
|
||||
return this.isGroup && this.parentGroup
|
||||
? this.parentGroup.disabled
|
||||
: this.disabled;
|
||||
return (this.isGroup && this.parentGroup && this.parentGroup.disabled) || this.disabled;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user