bri-components 1.4.29 → 1.4.30

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.29",
3
+ "version": "1.4.30",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -985,7 +985,11 @@ export default {
985
985
  this.parentObj[this.controlKey] = dataObj;
986
986
  }
987
987
 
988
- this.change("import");
988
+ // 因为data和rowspanMap不马上更新
989
+ this.$nextTick(() => {
990
+ this.reset();
991
+ this.change("import");
992
+ });
989
993
  },
990
994
 
991
995
  /* ----------- 导出 ---------- */
@@ -1131,7 +1135,7 @@ export default {
1131
1135
  e.stopPropagation();
1132
1136
  }
1133
1137
  }
1134
- });
1138
+ });
1135
1139
  },
1136
1140
  topSearchRender (h) {
1137
1141
  return this.searchFormList.length
@@ -1421,7 +1425,7 @@ export default {
1421
1425
  getRowDelBtnCanEdit (row, rowIndex) {
1422
1426
  return row.__readonly__ !== true && // 不能为只读数据
1423
1427
  (this.disabledDeleteDftRow ? row.__isDefault__ !== true : true) && // 默认数据可删除
1424
- (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1428
+ (this.disabledDeleteOldRow ? row.__old__ !== true : true); // 老数据可删除
1425
1429
  },
1426
1430
  // 行内容是否可编辑
1427
1431
  getRowCanEdit (row, rowIndex) {