[Improvement] eslint before build (#455)

This commit is contained in:
neverland
2017-12-19 19:12:32 +08:00
committed by GitHub
parent 05a724c0c8
commit df67b005ce
10 changed files with 371 additions and 39 deletions

View File

@@ -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;
}
},