mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +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>
|