feat(ui):simpleTable

This commit is contained in:
huangqj 2024-03-07 14:59:45 +08:00
parent 8c93fa51f6
commit 960286a350

View File

@ -33,7 +33,11 @@ const handleSearch = async (tips?: boolean) => {
onActivated(handleSearch);
</script>
<template>
<slot name="header" v-bind="{ reload: handleSearch }" />
<div class="simple-header">
<a-space>
<slot name="header" v-bind="{ reload: handleSearch }" />
</a-space>
</div>
<div class="simple-table">
<div ref="tableContainerRef" class="simple-table-container">
<ATable
@ -66,4 +70,7 @@ onActivated(handleSearch);
align-items: center;
justify-content: space-between;
}
.simple-header {
padding: 16px 0;
}
</style>