# wsd_components **Repository Path**: bsxbl/wsd_components ## Basic Information - **Project Name**: wsd_components - **Description**: 基于element+vue2.0自定义组件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-01-23 - **Last Updated**: 2026-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wsd_components #### 介绍 基于 element+vue2.0 自定义组件 #### 软件架构 软件架构说明 #### 安装教程 1. npm config set registry https://registry.npmjs.org 2. npm i wsd-components 3. xxxx #### 使用说明 1. 使用: import page from 'wsd-components' import 'wsd-components/lib/wsd-components.css' Vue.use(page,{ 注入公共配置项 httpCodekey: 'code',http请求状态码对应的键 pageListKey: 'content',返回列表数据对应的键 pageConfig:{}, tableConfig:{}, formConfig:{}, }) 2. 包含组件: wTable:具体参数参见 types/table.d.ts WTableConfig wForm:支持 v-model,具体参数参见 types/form.d.ts WFormConfig wPage:具体参数参见 types/page.d.ts WPageConfig table的search搜索组件配置项只会监听变化一次,可通过组件内部调用resetIsFirst方法重置 3. 通过Vue.component(组件名称, 组件);方式注入的组件,可以直接传入name使用组件 4. 关键参数nodedata 基于vue nodedata参数扩展,组建的props、on事件、元素的attrs。。。都在里面 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) #### 待优化 1.table defaultValue没有监听到变化 2.重置函数关于defaultValue