add 分页总数
This commit is contained in:
@@ -22,6 +22,7 @@ export interface PageProps {
|
||||
pages?: number;
|
||||
limits?: number[];
|
||||
modelValue?: number;
|
||||
count?: number;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<PageProps>(), {
|
||||
@@ -223,6 +224,6 @@ watch(
|
||||
{{ t("page.confirm") }}
|
||||
</button>
|
||||
</span>
|
||||
<span>共11条</span>
|
||||
<span v-if="props.count">共{{props.count}}条</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user