Skip to content

Commit 3b04185

Browse files
committed
feat: table组件表头搜索默认展示
1 parent 9a93922 commit 3b04185

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/CusTable/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineComponent({
4444
// extraSearchParams
4545
} = toRefs(props) as unknown as RePureTableProps;
4646

47-
const _showHeaderFilter = ref(false);
47+
const _showHeaderFilter = ref(true);
4848

4949
watch(
5050
() => props.showHeaderFilter,

src/components/CusTableBar/src/bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function fixApiColumns(columnsApi, normalColumns) {
9999
}
100100

101101
function componentSetUp(props, { emit, slots, attrs }) {
102-
const showHeaderFilter = ref(false);
102+
const showHeaderFilter = ref(true);
103103
const refreshList = ref(false);
104104

105105
const size = ref("default");

0 commit comments

Comments
 (0)