table 分页

This commit is contained in:
Theluyuan 2022-12-09 16:42:08 +08:00
parent ff7aa8774f
commit 79bc8b840e
2 changed files with 2 additions and 2 deletions

View File

@ -224,6 +224,6 @@ watch(
{{ t("page.confirm") }} {{ t("page.confirm") }}
</button> </button>
</span> </span>
<span v-if="count">{{count}}</span> <span v-if="count">{{ count }}</span>
</div> </div>
</template> </template>

View File

@ -21,7 +21,7 @@ export interface TablePageProps {
total: number; total: number;
limit: number; limit: number;
theme?: string; theme?: string;
count?:number; count?: number;
} }
const props = withDefaults(defineProps<TablePageProps>(), { const props = withDefaults(defineProps<TablePageProps>(), {