hrsass-components 2.2.2 → 2.2.4
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/lib/hrsass-components.js +6 -5
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +0 -5240
package/lib/hrsass-components.js
CHANGED
|
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
|
|
|
65
65
|
var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
|
|
66
66
|
var saveSvgAsPng = require('save-svg-as-png');
|
|
67
67
|
|
|
68
|
-
var version = "2.2.
|
|
68
|
+
var version = "2.2.4";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -3491,7 +3491,7 @@ var HrAppendix = {
|
|
|
3491
3491
|
url: "".concat(_this3.fileUrl).concat(fileId)
|
|
3492
3492
|
};
|
|
3493
3493
|
if (_this3.listType !== "text") {
|
|
3494
|
-
fileObj.type = "image";
|
|
3494
|
+
fileObj.type = "image/";
|
|
3495
3495
|
}
|
|
3496
3496
|
return fileObj;
|
|
3497
3497
|
});
|
|
@@ -8231,14 +8231,15 @@ var index = {
|
|
|
8231
8231
|
sortList: sort,
|
|
8232
8232
|
conditionList: [].concat(_toConsumableArray(fitlerOtehrConditionListDeepClone), _toConsumableArray(fitlerConditionListDeepClone))
|
|
8233
8233
|
}).then(function (res) {
|
|
8234
|
+
var _this5$selectedRowsLi, _this5$selectedUpdate, _this5$dataSource;
|
|
8234
8235
|
//外部处理数据
|
|
8235
8236
|
if (lodash.isFunction(normalizeData)) {
|
|
8236
8237
|
res = normalizeData(res);
|
|
8237
8238
|
}
|
|
8238
8239
|
//处理props传入的已选中
|
|
8239
|
-
if (_this5.selectedRowsList.length > 0 && _this5.selectedUpdateRows.length == 0 && _this5.dataSource.length == 0) {
|
|
8240
|
+
if ((_this5 === null || _this5 === void 0 || (_this5$selectedRowsLi = _this5.selectedRowsList) === null || _this5$selectedRowsLi === void 0 ? void 0 : _this5$selectedRowsLi.length) > 0 && (_this5 === null || _this5 === void 0 || (_this5$selectedUpdate = _this5.selectedUpdateRows) === null || _this5$selectedUpdate === void 0 ? void 0 : _this5$selectedUpdate.length) == 0 && (_this5 === null || _this5 === void 0 || (_this5$dataSource = _this5.dataSource) === null || _this5$dataSource === void 0 ? void 0 : _this5$dataSource.length) == 0) {
|
|
8240
8241
|
_this5.selectedUpdateRows = res.dataList.filter(function (item) {
|
|
8241
|
-
return _this5.selectedRowsList.includes(item.t_0_hid) || _this5.selectedRowsList.map(function (id) {
|
|
8242
|
+
return _this5.selectedRowsList.includes(item.t_0_hid) || (_this5.selectedRowsList || []).map(function (id) {
|
|
8242
8243
|
return id + '';
|
|
8243
8244
|
}).includes(item.id + '');
|
|
8244
8245
|
});
|
|
@@ -14510,7 +14511,7 @@ var index$h = {
|
|
|
14510
14511
|
url: "".concat(_this3.fileUrl).concat(fileId)
|
|
14511
14512
|
};
|
|
14512
14513
|
if (_this3.listType !== "text") {
|
|
14513
|
-
fileObj.type = "image";
|
|
14514
|
+
fileObj.type = "image/";
|
|
14514
14515
|
}
|
|
14515
14516
|
return fileObj;
|
|
14516
14517
|
});
|