doway-coms 1.4.19 → 1.4.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.4.19",
3
+ "version": "1.4.21",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -39,6 +39,7 @@
39
39
  @pulldownMultiSelect="pulldownMultiSelect"
40
40
  :edit-rules="validRules"
41
41
  :tree-config="treeConfig"
42
+ :row-config="rowConfig"
42
43
  @resizable-change="resizableChange"
43
44
  :checkbox-config="checkboxConfig"
44
45
  :expand-config="expandConfig"
@@ -55,6 +56,7 @@
55
56
  @checkbox-change="checkBoxChanged"
56
57
  :cell-class-name="cellClassName"
57
58
  :row-style="rowStyle"
59
+ :cell-style="cellStyle"
58
60
  :size="'mini'"
59
61
  :data="rows"
60
62
  :columns="internalColumns"
@@ -699,6 +701,13 @@ export default {
699
701
  },
700
702
  deep: true,
701
703
  },
704
+ rowConfig: {
705
+ type: Object,
706
+ default: () => {
707
+ return null;
708
+ },
709
+ deep: true,
710
+ },
702
711
  expandConfig: {
703
712
  type: Object,
704
713
  default: () => {
@@ -709,6 +718,9 @@ export default {
709
718
  rowStyle: {
710
719
  type: Function,
711
720
  },
721
+ cellStyle: {
722
+ type: Function,
723
+ },
712
724
  height: {
713
725
  default: null,
714
726
  },