ztxkui 3.7.8 → 3.7.9

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.
@@ -104,7 +104,12 @@ function loadCLodop() {
104
104
  }
105
105
  if (needCLodop()) {
106
106
  console.log("=============\u9700\u8981CLodop=============");
107
- loadCLodop();
107
+ try {
108
+ loadCLodop();
109
+ }
110
+ catch (err) {
111
+ console.log(err);
112
+ }
108
113
  }
109
114
  /**
110
115
  * @author 陈亚雄
@@ -64,7 +64,7 @@ import UploadTable from './upload-table';
64
64
  import classNames from 'classnames';
65
65
  import { downloadFileCallBack, downloadPublicFile, previewFile, createThumbnailUrl, } from 'ztxkutils/dist/fileOperation';
66
66
  import { transformFileSize } from 'ztxkutils/dist/tools';
67
- import { MAX_PREVIEW_FILE_SIZE } from 'components/utils/constants';
67
+ import { MAX_PREVIEW_FILE_SIZE } from '../utils/constants';
68
68
  var _accept = [
69
69
  '.pdf',
70
70
  '.txt',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.7.8",
3
+ "version": "3.7.9",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",