mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
17 lines
296 B
Vue
17 lines
296 B
Vue
<template>
|
|
<div>
|
|
<el-switch v-model="value" />
|
|
<hr class="my-4" />
|
|
<el-pagination
|
|
:hide-on-single-page="value"
|
|
:total="5"
|
|
layout="prev, pager, next"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
const value = ref(false)
|
|
</script>
|