element-assits 0.0.84 → 0.0.86

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.
Files changed (4) hide show
  1. package/README.md +6 -1
  2. package/lib/index.js +1152 -1126
  3. package/lib/style.scss +349 -349
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -19,7 +19,10 @@ import ElementAssits from 'element-assits'
19
19
  import 'element-assits/lib/style.scss'
20
20
 
21
21
  Vue.use(Element)
22
- Vue.use(ElementAssits)
22
+ Vue.use(ElementAssits, {
23
+ components: true, // 是否全局注册所有组件,默认true
24
+ isNilCellText: undefined // 当表格和描述列表单元格为undefined或null时的替代字符
25
+ })
23
26
  // ...
24
27
  ```
25
28
  使用:
@@ -48,6 +51,7 @@ Vue 原型上挂载了 `$asyncLoad` 方法(与asyncLoad相同)
48
51
  | pageRequest | 分页请求 | Function <br>() => Promise<{data:any[], total:number}> | undefined |
49
52
  | loading | 表格加载状态 | Boolean | undefined |
50
53
  | initRequest | 是否初始化发送请求 | Boolean \| Function <br> boolean \| (search: () => void) => void | true |
54
+ | isNilCellText | 当单元格内容为空时的替代字符 | String | undefined (不启用) |
51
55
  | innerForm | 内部 - 表单(搜索栏) | Boolean \| Object | undefined |
52
56
  | &nbsp;&nbsp;&nbsp;&nbsp;.model | 搜索表单的值 | Object | undefined |
53
57
  | &nbsp;&nbsp;&nbsp;&nbsp;.limit|限制默认显示的搜索条件数量|Number \| auto \| all|auto|
@@ -365,6 +369,7 @@ el-scrollbar 衍生,优化样式
365
369
  |split|分割数量|Number|2|
366
370
  |diff|有差异的列信息|Array|undefined|
367
371
  |gutter|间隔|Number|0|
372
+ |isNilCellText|当单元格内容为空时的替代字符|String|undefined (不启用)|
368
373
 
369
374
  ### 弹窗文件上传 EaFileUpload
370
375
  #### props