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