perf(button): delete the button component useless code

This commit is contained in:
vben
2020-10-30 00:56:11 +08:00
parent fb0c7763ed
commit bdce84537a
6 changed files with 97 additions and 54 deletions

View File

@@ -17,7 +17,7 @@ export default defineComponent({
setup(props) {
const thumbRef = ref<Nullable<HTMLDivElement>>(null);
const elRef = ref<Nullable<HTMLDivElement>>(null);
const commonState = reactive<KeyString>({});
const commonState = reactive<Indexable>({});
const getBarRef = computed(() => {
return BAR_MAP[props.vertical ? 'vertical' : 'horizontal'];
});