afd-lib
v1.7.1
Published
ant-form-designer的基础组件库
Downloads
63
Readme
安装afd-lib
yarn add afd-lib
使用方法
1.安装babel-plugin-import
yarn add babel-plugin-import
2.babel.config.js
plugins.push([
'import',
{
libraryName: 'afd-lib',
camel2DashComponentName: false,
camel2UnderlineComponentName: false,
style: name => {
const cssName = name.split('/')[2]
return `afd-lib/lib/style/${cssName}.css`
}
}, 'afd-lib'
])
3. lazy_afd.js
import Vue from 'vue'
import { index } from 'afd-lib'
Vue.use(index)
API地址
https://gitee.com/itvita/afd-lib/blob/master/api.md
作者微信:
liuqitcn
更新说明
2020-12-15
- 新增月选择器
- 新增图片列表&预览
- 新增报表导出组件 -依赖报表服务
- 新增日选择器
- 新增高德地图地址,坐标拾取组件支持搜索,定位。。
2020-12-14
- 新增单选选择器
- 新增多选穿梭框
- 新增范围日期选择器
- 新增报表组件 -依赖报表服务
- 新增搜索条组件
- 新增表格组件
2020-12-13
- 新增树形组件
- 新增树形下拉组件
- 新增文件上传组件
- 新增富文本组件
- 新增时间选择器
- 新增文本显示框
2020-12-11
- 新增视频列表&预览组件
- 新增单文件上传按钮