🎨 add eslint

This commit is contained in:
jingsam 2016-12-25 22:49:42 +08:00
parent 829a2e4cfc
commit b0893113b3
88 changed files with 376 additions and 370 deletions

View file

@ -47,7 +47,7 @@
data: {
type: Array,
default () {
return []
return [];
}
},
renderFormat: {
@ -59,31 +59,31 @@
targetKeys: {
type: Array,
default () {
return []
return [];
}
},
selectedKeys: {
type: Array,
default () {
return []
return [];
}
},
listStyle: {
type: Object,
default () {
return {}
return {};
}
},
titles: {
type: Array,
default () {
return ['源列表', '目的列表']
return ['源列表', '目的列表'];
}
},
operations: {
type: Array,
default () {
return []
return [];
}
},
filterable: {
@ -113,13 +113,13 @@
rightData: [],
leftCheckedKeys: [],
rightCheckedKeys: []
}
};
},
computed: {
classes () {
return [
`${prefixCls}`
]
];
},
leftValidKeysCount () {
return this.getValidKeys('left').length;
@ -182,5 +182,5 @@
created () {
this.splitData(true);
}
}
</script>
};
</script>