# vue-basecomponents **Repository Path**: cloud_l/vue-basecomponents ## Basic Information - **Project Name**: vue-basecomponents - **Description**: vue基础组件封装 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-10 - **Last Updated**: 2023-08-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # component ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### 更新记录 * 2021年10-10 增加分页组件,增加基础下拉选择组件 ### apidoc 使用 * apidoc.json ```json { "name": "apidoc-demo", "description": "You write something here to describe your project", "title": "The title of this doc" } ``` * 执行 `apidoc -i router -o public/apidoc/` * localhost:5000/public/apidoc/index.html 进行访问 ### 组件 #### 分页组件 BPagination * 属性 |参数|说明|类型|可选值|默认值| |---|---|---|---|---| |total|总条数|number|-|0| |limit|每页数量|number|-|0| |showTotalPage|展示总条数|boolean|-|false| |showJumpPage|显示跳转框|boolean|-|false| * 方法 |事件名称|说明|回调参数| |---|---|---| |page-change|获取当前页码|currentPage| #### 下拉选择组件 BSelect * 属性 |参数|说明|类型|可选值|默认值| |---|---|---|----|-----| |placeholder|提示语|string|-|-| #### 下拉选择子组件 BSelectOption * 属性 |参数|说明|类型|可选值|默认值| |---|---|---|----|-----| |label|名称|string|-|-| |value|名称对应的值|number/string|-|-|