vue TagsInput

  • 输入标签

    vue输入标签 vue-tags-input

  • 安装

    npm install @johmun/vue-tags-input
    
  • 用法

    <template>
      <div>
        <vue-tags-input
          v-model="tag"
          :tags="tags"
          @tags-changed="newTags => tags = newTags"
        />
      </div>
    </template>
    
    <script>
    import VueTagsInput from '@johmun/vue-tags-input';
    
    export default {
      components: {
        VueTagsInput,
      },
      data() {
        return {
          tag:'',
          tags: [],
        };
      },
    };
    </script>
    

相关文章:

  • 2022-12-23
  • 2021-04-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-09
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案