🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -39,13 +39,13 @@
|
|||
data: {
|
||||
type: Array,
|
||||
default () {
|
||||
return []
|
||||
return [];
|
||||
}
|
||||
},
|
||||
value: {
|
||||
type: Array,
|
||||
default () {
|
||||
return []
|
||||
return [];
|
||||
}
|
||||
},
|
||||
disabled: {
|
||||
|
@ -88,7 +88,7 @@
|
|||
visible: false,
|
||||
selected: [],
|
||||
tmpSelected: []
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
classes () {
|
||||
|
@ -99,7 +99,7 @@
|
|||
[`${prefixCls}-visible`]: this.visible,
|
||||
[`${prefixCls}-disabled`]: this.disabled
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
showCloseIcon () {
|
||||
return this.value && this.value.length && this.clearable;
|
||||
|
@ -182,5 +182,5 @@
|
|||
this.updateSelected();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue