diff --git a/package/component/src/component/select/index.vue b/package/component/src/component/select/index.vue index be07feb5..40e7d8da 100644 --- a/package/component/src/component/select/index.vue +++ b/package/component/src/component/select/index.vue @@ -181,7 +181,7 @@ const handleClear = () => { const handleHide = () => { searchValue.value = ""; openState.value = false; -} +}; provide("selectRef", selectRef); provide("openState", openState); diff --git a/package/component/src/component/table/index.vue b/package/component/src/component/table/index.vue index c9224061..dc9c1095 100644 --- a/package/component/src/component/table/index.vue +++ b/package/component/src/component/table/index.vue @@ -676,11 +676,11 @@ const totalRowMethod = (column: any, dataSource: any[]) => { }; const showToolbar = (toolbarName: string) => { - if(props.defaultToolbar instanceof Array) { - return props.defaultToolbar.includes(toolbarName) + if (props.defaultToolbar instanceof Array) { + return props.defaultToolbar.includes(toolbarName); } return props.defaultToolbar; -} +}; onBeforeUnmount(() => { window.onresize = null; @@ -696,7 +696,6 @@ onBeforeUnmount(() => {
-
@@ -726,7 +725,13 @@ onBeforeUnmount(() => {
-
+