Skip to content

InputTag 标签输入

标签输入组件。

基本用法

vue
<template>
  <InputTag v-model="tags" />
</template>

<script setup lang="ts">
const tags = ref<string[]>([])
</script>

Props

参数说明类型默认值
modelValue标签数组string[][]
placeholder占位文本string'请输入标签'

基于 MIT 许可发布