ztxkui 4.2.23-347-beta → 4.2.23-348-beta

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.
@@ -39,7 +39,7 @@ var FileOperation = function (props) {
39
39
  onWatermarkChange && onWatermarkChange(e.target.checked);
40
40
  } }, "\u6DFB\u52A0\u6C34\u5370"))),
41
41
  React.createElement("div", { className: "file-operation--list" },
42
- isEdit && isReplaceFile && (React.createElement(FileUpload, { fileList: fileList, apiBaseUrl: apiBaseUrl, onFileChange: onFileChange, type: "link" }, "\u66FF\u6362")),
42
+ isReplaceFile && (React.createElement(FileUpload, { fileList: fileList, apiBaseUrl: apiBaseUrl, onFileChange: onFileChange, type: "link" }, "\u66FF\u6362")),
43
43
  isDownload && fileId ? (React.createElement(Button, { type: "link", onClick: function () {
44
44
  downloadFileCallBack(apiBaseUrl, fileId, dangerouslySetXss(fileName) || '附件', {
45
45
  addWaterMark: false,
@@ -798,7 +798,7 @@ var ElectronSignatures = function (props) {
798
798
  return (React.createElement(ElectronSignaturesFragment, __assign({ key: index, dataType: "" + index, onTrackChange: onTrackChange, request: request, isUnControlled: isUnControlled, setLoading: setLoading, apiBaseUrl: apiBaseUrl, fileBaseUrl: fileBaseUrl, isSingleQj: isSingleQj }, mergeOptions)));
799
799
  }),
800
800
  React.createElement(ElectronSealBatchDownload, { request: request, apiBaseUrl: apiBaseUrl, selectRows: selectRows, allData: allData, isShowElectronBatchBtn: isShowElectronBatchBtn, isShowDownloadBatchBtn: isShowDownloadBatchBtn, isShowDoubleSignedBatchBtn: isShowDoubleSignedBatchBtn, batchDownloadZipName: batchDownloadZipName, firstDataType: firstDataType }, isShowFileUpload && currentIsEditMemo ? (React.createElement(FileUpload, __assign({ fileList: sameTypeRecords, apiBaseUrl: apiBaseUrl, onFileChange: onFileChange, multiple: true }, fileUploadProps), "\u6DFB\u52A0\u9644\u4EF6")) : null),
801
- React.createElement(Table, { dataSource: mergeRecords, columns: columns, rowKey: "attachId", className: "zt-table electron-table", bordered: true, pagination: false, loading: loading, rowSelection: myRowSelection, scroll: __assign({ x: 'max-content', y: 500 }, tableScroll) }),
801
+ React.createElement(Table, { dataSource: mergeRecords, columns: columns, rowKey: function (record) { return record.id || record.attachId; }, className: "zt-table electron-table", bordered: true, pagination: false, loading: loading, rowSelection: myRowSelection, scroll: __assign({ x: 'max-content', y: 500 }, tableScroll) }),
802
802
  React.createElement(LastQysModal, { modalHandleRef: modalHandleRef, appointSignLocation: function (info) {
803
803
  // 未盖章的印章id列表
804
804
  var needReSealList = info.needReSealList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.23-347-beta",
3
+ "version": "4.2.23-348-beta",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",