Skip to content

Commit 3b750b3

Browse files
committed
fixed code structure
1 parent b227eb4 commit 3b750b3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/fields/core/fieldRadios.vue

+6-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,13 @@ export default {
6666
return currentValue === this.value;
6767
},
6868
isItemDisabled(item) {
69-
if(this.disabled) return true;
69+
if (this.disabled) {
70+
return true;
71+
}
7072
let disabled = objGet(item, "disabled", false);
71-
if(isFunction(disabled)) return disabled(this.model);
73+
if (isFunction(disabled)) {
74+
return disabled(this.model);
75+
}
7276
return disabled;
7377
}
7478
}

0 commit comments

Comments
 (0)