Skip to content

Commit 10e6d99

Browse files
author
Andy
committed
feat(checkbox): fix lint
1 parent e690610 commit 10e6d99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/table/Table.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default {
158158
sPagination: this.getDefaultPagination(this.$props),
159159
pivot: undefined,
160160
sComponents: createComponents(this.components),
161-
filterDataCnt: 0
161+
filterDataCnt: 0,
162162
};
163163
},
164164
watch: {

components/vc-checkbox/src/Checkbox.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export default {
108108
value,
109109
...others
110110
} = getOptionProps(this);
111+
const { class: className } = this.$attrs;
111112
const globalProps = Object.keys({ ...others, ...this.$attrs }).reduce((prev, key) => {
112113
if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') {
113114
prev[key] = others[key];

0 commit comments

Comments
 (0)