mirror of
https://github.com/element-plus/element-plus.git
synced 2025-12-19 09:09:40 +08:00
34 lines
473 B
Vue
34 lines
473 B
Vue
<template>
|
|
<el-mention
|
|
v-model="value"
|
|
:options="options"
|
|
style="width: 320px"
|
|
placeholder="Please input"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
const value = ref('@')
|
|
|
|
const options = ref([
|
|
{
|
|
label: 'Fuphoenixes',
|
|
value: 'Fuphoenixes',
|
|
},
|
|
{
|
|
label: 'kooriookami',
|
|
value: 'kooriookami',
|
|
},
|
|
{
|
|
label: 'Jeremy',
|
|
value: 'Jeremy',
|
|
},
|
|
{
|
|
label: 'btea',
|
|
value: 'btea',
|
|
},
|
|
])
|
|
</script>
|