mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
17 lines
249 B
Vue
17 lines
249 B
Vue
|
<template>
|
||
|
<el-input-number v-model="num" :step="2" />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
const num = ref(5)
|
||
|
return {
|
||
|
num,
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|