f-components

0.0.7 • Public • Published

f-components

安装 npm install f-components --save

import 'f-components/lib/f-components.css'
import fcomponents from 'f-components';

Vue.use('fcomponents')

常用组件

  • fTable 表格
fTable props
属性 说明 类型 可选值 默认值 是否必传
list 表格数据 Array - -
total 数据总数 Nunber - -
q 查询参数(page_size,page_no) Object - -
columnOps 列配置(参考element-ui的列) Array<Object> - -
tableOps 表格配置(参考element-ui的列) Object - {size:"mini",stripe: true,border: true,fit: true,"highlight-current-row": true}
btnsBoxWidth 操作栏宽度 String | Number - 120
btnBoxString 操作栏title名 String - 操作
btnBoxIsFixed 操作栏悬浮 Boolean - true
page_no_label page_no的字段名 String - page_no
page_size_label page_size的字段名 String - page_size

/f-components/

    Package Sidebar

    Install

    npm i f-components

    Weekly Downloads

    1

    Version

    0.0.7

    License

    none

    Unpacked Size

    237 kB

    Total Files

    15

    Last publish

    Collaborators

    • wilson1997