1.0.0 • Published 5 years ago

vue-ele-toolbox v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

vue-toolbox

vue-toolbox提供vue项目的常用工具

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

组件

查询组件vt-search-form

<VtSearchForm :searchForm="searchForm" ref="spSearchFormRef" />

searchForm: {
        inputList: [
          {
            id: 1,
            prop: 'serviceName',
            type: 'el-input',
            placeholder: '输入数据名称',
            model: null,
            size: 'mini'
          }
        ],
        btnList: [
          {
            id: 11,
            type: 'el-button',
            laybel: '查询',
            size: 'mini',
            method: (item) => {

            }
          }
        ]
      }