bri-components 1.4.32 → 1.4.33

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": "bri-components",
3
- "version": "1.4.32",
3
+ "version": "1.4.33",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -106,7 +106,7 @@
106
106
  key: "__selection__",
107
107
  field: "__selection__",
108
108
  type: "checkbox", // 内置类型
109
- width: 66,
109
+ width: 50,
110
110
  align: "center",
111
111
  fixed: "left"
112
112
  };
@@ -117,7 +117,7 @@
117
117
  _key: "__index__",
118
118
  key: "__index__",
119
119
  field: "__index__",
120
- width: 78,
120
+ width: 60,
121
121
  align: "center",
122
122
  fixed: "left",
123
123
  renderBodyCell: ({ row, rowIndex, column }, h) => {
@@ -532,7 +532,7 @@ export default {
532
532
  key: "__selection__",
533
533
  field: "__selection__",
534
534
  type: "checkbox",
535
- width: 66,
535
+ width: 50,
536
536
  align: "center",
537
537
  fixed: "left"
538
538
  };
@@ -1135,7 +1135,7 @@ export default {
1135
1135
  e.stopPropagation();
1136
1136
  }
1137
1137
  }
1138
- });
1138
+ });
1139
1139
  },
1140
1140
  topSearchRender (h) {
1141
1141
  return this.searchFormList.length
@@ -1425,7 +1425,7 @@ export default {
1425
1425
  getRowDelBtnCanEdit (row, rowIndex) {
1426
1426
  return row.__readonly__ !== true && // 不能为只读数据
1427
1427
  (this.disabledDeleteDftRow ? row.__isDefault__ !== true : true) && // 默认数据可删除
1428
- (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1428
+ (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1429
1429
  },
1430
1430
  // 行内容是否可编辑
1431
1431
  getRowCanEdit (row, rowIndex) {