mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
10 lines
160 B
Vue
10 lines
160 B
Vue
|
<template>
|
||
|
<el-input-number v-model="num" :min="1" :max="10" />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup>
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
const num = ref(1)
|
||
|
</script>
|