mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[Improvement] eslint before build (#455)
This commit is contained in:
@@ -41,7 +41,9 @@ export default create({
|
||||
|
||||
currentValue: {
|
||||
get() {
|
||||
return this.isGroup && this.parentGroup ? this.parentGroup.value : this.value;
|
||||
return this.isGroup && this.parentGroup
|
||||
? this.parentGroup.value
|
||||
: this.value;
|
||||
},
|
||||
|
||||
set(val) {
|
||||
@@ -55,8 +57,8 @@ export default create({
|
||||
|
||||
isDisabled() {
|
||||
return this.isGroup && this.parentGroup
|
||||
? this.parentGroup.disabled || this.disabled
|
||||
: this.disabled;
|
||||
? this.parentGroup.disabled || this.disabled
|
||||
: this.disabled;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user