diff --git a/package/component/src/component/select/index.vue b/package/component/src/component/select/index.vue index 351008a3..76af9343 100644 --- a/package/component/src/component/select/index.vue +++ b/package/component/src/component/select/index.vue @@ -18,7 +18,7 @@ import { watch, onUnmounted, StyleValue, -Fragment, + Fragment, } from "vue"; import { LayIcon } from "@layui/icons-vue"; import LayInput from "../input/index.vue"; diff --git a/package/component/src/component/tab/index.vue b/package/component/src/component/tab/index.vue index e28f2149..a09b7c39 100644 --- a/package/component/src/component/tab/index.vue +++ b/package/component/src/component/tab/index.vue @@ -291,10 +291,14 @@ const renderTabTitle = (attrs: Record) => { useResizeObserver(navRef, update); -watch(tabMap, () => { +watch( + tabMap, + () => { childrens.value = []; setItemInstanceBySlot((slot.default && slot.default()) as VNode[]); -}, {immediate: true }); + }, + { immediate: true } +); watch( () => [ diff --git a/package/component/src/component/table/TableRow.vue b/package/component/src/component/table/TableRow.vue index 4b5f5049..cd04558e 100644 --- a/package/component/src/component/table/TableRow.vue +++ b/package/component/src/component/table/TableRow.vue @@ -486,7 +486,7 @@ const radioProps = props.getRadioProps(props.data, props.index); column.fixed ? `layui-table-fixed-${column.fixed}` : '', ]" > -
+
-
+
- +