2.0.21 • Published 8 months ago
knowl-ui-tags2 v2.0.21
📦 安装
通过npm
npm install knowl-ui-tags2
通过yarn
yarn add knowl-ui-tags2
🔨 快速开始
import knowl_tags from 'knowl-ui-tags2'
import 'knowl-ui-tags2/lib/main.css'
Vue.use(knowl_tags, {store: vuex对象})
<template>
<Home></Home>
</template>
通过组件属性传入
- pid: 选中项目id string
- fdata: {}
- filter 获取类别(非信源)appcategory/getAppCategoryList
- filter_xinyuan: 获取类别(信源)appSourceCol/list
- xinyuan_mapmping: 获取信源对应关系 appSourceMapping/getSourceMapping
- xinyuan_head: 获取信源表头 appSourceCol/getAllList
- fliterCount: 标签数量 {f1:num,f2:num,...}
- pid: 选中项目id string
暴露的方法
- getSelFilter: 获取选中的标签
- getShowFilter: 获取显示的标签
- getAllFilter: 获取全部标签
- setSelFilter: 设置选中的标签 参数fid数组 1,2,3
- clearAllData:切换项目的时候情况数据
- setShowCount: 设置显示类别数量开关,默认 true 参数xxx :boolean
- setShowFilter_byCount:只显示有数量的类别,默认false 参数xxx:boolean
- setLanguage: 国际化设置,参数 字符串 zh 或 en, 默认是 zh
事件:
- selFilterChange: 选中标签时触发
2.0.21
8 months ago
2.0.20
8 months ago
2.0.19
10 months ago
2.0.18
10 months ago
2.0.17
1 year ago
2.0.15
1 year ago
2.0.14
1 year ago
2.0.12
1 year ago
2.0.7
1 year ago
2.0.9
1 year ago
2.0.8
1 year ago
2.0.11
1 year ago
2.0.10
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.6
1 year ago
1.0.44
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.43
1 year ago
1.0.42
1 year ago
1.0.40
1 year ago
1.0.39
1 year ago
1.0.38
1 year ago
1.0.37
1 year ago
1.0.36
1 year ago
1.0.35
1 year ago
1.0.32
1 year ago
1.0.31
1 year ago
1.0.30
1 year ago
1.0.28
1 year ago
1.0.27
1 year ago
1.0.26
1 year ago
1.0.25
1 year ago
1.0.24
1 year ago
1.0.23
1 year ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago