@weitutech/by-components-v3 1.1.7 → 1.1.9

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 CHANGED
@@ -57,6 +57,16 @@ npm publish --access public
57
57
  1. 采用 by 为前缀命名方式
58
58
  2. 避免过度耦合,考虑不同项目的复用性,尽量避免组件内调取接口
59
59
 
60
+ ### 组件文档构建
61
+
62
+ ```
63
+ npm run docs:dev
64
+ npm run docs:build
65
+ 文档部署到Github Pages: npm run docs:deploy
66
+ ```
67
+
68
+ [组件文档·Github Pages](https://weitutech.github.io/by-frontend-components-v3-docs/)
69
+
60
70
  ### 表单 by-page-search
61
71
 
62
72
  ```
@@ -248,6 +258,7 @@ const handleQueryClick = () => {}
248
258
  [vxe-table 文档](https://vxetable.cn/#/start/install)
249
259
 
250
260
  ###### 通用配置
261
+
251
262
  ```
252
263
  <template>
253
264
  <by-table
@@ -316,7 +327,7 @@ const gridOptions = ref({
316
327
  }
317
328
  },
318
329
 
319
- customColumnConfig: { // 自定义列
330
+ customColumnConfig: { // 自定义列
320
331
  showCustomColumn: true, // 是否显示自定义列
321
332
  infoMethod: getCustomTableList, // 回显用的接口
322
333
  infoMethodParams: {}, // 回显用的接口参数
@@ -353,7 +364,9 @@ const handlePageChange = ({ page, limit }) => {
353
364
  </script>
354
365
 
355
366
  ```
367
+
356
368
  ###### 自定义列支持多级表头
369
+
357
370
  ```
358
371
  <template>
359
372
  <by-table
@@ -400,4 +413,4 @@ const handleSetColumn = (columns) => {
400
413
  ]
401
414
  },
402
415
  </script>
403
- ```
416
+ ```