mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-11 00:38:36 +08:00
5067dd3b70
* fix: upload progress margin * fix: menu example style * fix: picker & radio padding, button form details * fix(theme-chalk): pagination align
18 lines
327 B
Vue
18 lines
327 B
Vue
<template>
|
|
<div>
|
|
<el-switch v-model="value"> </el-switch>
|
|
<hr class="my-4" />
|
|
<el-pagination
|
|
:hide-on-single-page="value"
|
|
:total="5"
|
|
layout="prev, pager, next"
|
|
>
|
|
</el-pagination>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
const value = ref(false)
|
|
</script>
|