@uf_lee/leeui 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -14
- package/dist/leeui.es.js +5113 -5062
- package/dist/leeui.umd.js +12 -12
- package/dist/types/components/LElTable/src/LElTable.vue.d.ts +30 -1
- package/dist/types/components/LElTable/src/types.d.ts +2 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ git clone https://gitee.com/uf_lee/lee-ui-test.git
|
|
|
70
70
|
|
|
71
71
|
| 参数 | 说明 | 类型 | 默认值 | 案例 |
|
|
72
72
|
| --------- | ------- | ------------ | --- | ---|
|
|
73
|
-
| `data` | 单个表单项配置 | `
|
|
73
|
+
| `data` | 单个表单项配置 | `ComData` | - | :data="data" |
|
|
74
74
|
| `v-model` | 绑定的数据值 | `any` | - | v-model="value" |
|
|
75
75
|
|
|
76
76
|
### `LElTable` 组件
|
|
@@ -84,36 +84,48 @@ git clone https://gitee.com/uf_lee/lee-ui-test.git
|
|
|
84
84
|
| `rules` | 表单验证规则 | `Record<string, any>` | `{}` | :rules="rules" |
|
|
85
85
|
|
|
86
86
|
## 本地调试方法
|
|
87
|
-
在lee-ui目录下执行:
|
|
87
|
+
1. 在lee-ui目录下执行:
|
|
88
|
+
```
|
|
88
89
|
cd c:\www\leeui\lee-ui
|
|
89
90
|
npm link
|
|
90
|
-
|
|
91
|
+
```
|
|
92
|
+
2. 在需要使用的项目目录下执行:
|
|
93
|
+
```
|
|
91
94
|
cd c:\www\leeui\lee-ui-test
|
|
92
95
|
npm link @uf_lee/leeui
|
|
93
|
-
|
|
96
|
+
```
|
|
97
|
+
3. 在依赖项目中解除链接
|
|
98
|
+
```
|
|
94
99
|
cd c:\www\leeui\lee-ui-test
|
|
95
100
|
npm unlink @uf_lee/leeui
|
|
96
|
-
|
|
101
|
+
```
|
|
102
|
+
4. (可选)在 leeui 项目中解除全局链接
|
|
103
|
+
```
|
|
97
104
|
cd c:\www\leeui\lee-ui
|
|
98
105
|
npm unlink @uf_lee/leeui
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
```
|
|
107
|
+
<span style="color: red;">注意:需要执行npm run build 代码才会生效</span>
|
|
101
108
|
|
|
102
109
|
## 本地调试方案2:使用软链接
|
|
103
|
-
|
|
110
|
+
1. 配置 package.json 文件:
|
|
111
|
+
```
|
|
104
112
|
"@uf_lee/leeui": "file:../lee-ui",
|
|
105
|
-
|
|
113
|
+
```
|
|
114
|
+
2. 然后执行
|
|
115
|
+
```
|
|
106
116
|
cd c:\www\leeui\lee-ui-test
|
|
107
117
|
npm install @uf_lee/leeui
|
|
108
|
-
|
|
109
|
-
|
|
118
|
+
```
|
|
119
|
+
3. <span style="color: red;">注意:lee-ui需要执行npm run build 代码才会生效</span>
|
|
120
|
+
```
|
|
110
121
|
cd c:\www\leeui\lee-ui
|
|
111
122
|
npm run build
|
|
112
|
-
|
|
113
|
-
恢复
|
|
123
|
+
```
|
|
124
|
+
4. 恢复
|
|
125
|
+
```
|
|
114
126
|
npm uninstall @uf_lee/leeui
|
|
115
127
|
npm install @uf_lee/leeui
|
|
116
|
-
|
|
128
|
+
```
|
|
117
129
|
|
|
118
130
|
|
|
119
131
|
## 🤝 贡献指南
|