bri-components 1.3.66 → 1.3.67
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
|
@@ -63,7 +63,7 @@ export default {
|
|
|
63
63
|
maxHeight: this.contentHeight,
|
|
64
64
|
// 通过实例方法 hideColumnsByKeys(keys)将列隐藏,通过实例方法 showColumnsByKeys(keys)将隐藏的列显示
|
|
65
65
|
columnHiddenOption: {
|
|
66
|
-
defaultHiddenColumnKeys: this.hideColKeys
|
|
66
|
+
defaultHiddenColumnKeys: [...this.hideColKeys] // 必须这么写,不解构,切换一次隐藏/显示后,hideColKeys会变成空数组
|
|
67
67
|
},
|
|
68
68
|
cellStyleOption: {
|
|
69
69
|
bodyCellClass: ({ row, column, rowIndex }) => {
|
|
@@ -395,7 +395,7 @@ export default {
|
|
|
395
395
|
maxHeight: this.contentHeight,
|
|
396
396
|
// 通过实例方法 hideColumnsByKeys(keys)将列隐藏,通过实例方法 showColumnsByKeys(keys)将隐藏的列显示
|
|
397
397
|
columnHiddenOption: {
|
|
398
|
-
defaultHiddenColumnKeys: [...this.hideColKeys]
|
|
398
|
+
defaultHiddenColumnKeys: [...this.hideColKeys] // 必须这么写,不解构,切换一次隐藏/显示后,hideColKeys会变成空数组
|
|
399
399
|
},
|
|
400
400
|
cellStyleOption: {
|
|
401
401
|
bodyCellClass: ({ column, row, rowIndex }) => {
|