mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
17 lines
256 B
Vue
17 lines
256 B
Vue
|
<template>
|
||
|
<el-input-number v-model="num" :disabled="true" />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
const num = ref(1)
|
||
|
return {
|
||
|
num,
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|