mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
16 lines
412 B
Vue
16 lines
412 B
Vue
<script setup lang="ts">
|
|
const props = defineProps<{ modelValue: string[]; placeholder?: string }>();
|
|
const emit = defineEmits<{ (e: "update:modelValue", value: string[]): void }>();
|
|
</script>
|
|
|
|
<template>
|
|
<RcTagInput
|
|
:model-value="props.modelValue"
|
|
:placeholder="props.placeholder"
|
|
separator=","
|
|
unique
|
|
size="sm"
|
|
@update:model-value="emit('update:modelValue', $event)"
|
|
/>
|
|
</template>
|