diff --git a/src/components/ReTable/src/bar.tsx b/src/components/ReTable/src/bar.tsx index 8766ad5af..4dc196813 100644 --- a/src/components/ReTable/src/bar.tsx +++ b/src/components/ReTable/src/bar.tsx @@ -1,7 +1,6 @@ -import { emitter } from "/@/utils/mitt"; -import { IconifyIconOffline } from "../../ReIcon"; import { defineComponent, ref, computed, PropType } from "vue"; import { useEpThemeStoreHook } from "/@/store/modules/epTheme"; +import { IconifyIconOffline } from "../../ReIcon"; export const loadingSvg = ` { - const { width } = detail; - currentWidth.value = width; - }); - const dropdown = { dropdown: () => ( @@ -131,9 +123,7 @@ export default defineComponent({ element-loading-svg-view-box="-10, -10, 50, 50" >
-

- {currentWidth.value > 390 ? props.title : "列表"} -

+

{props.title}

{slots?.buttons()}
{props.tableRef?.size ? (