venus-design 1.0.84 → 1.0.85

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.
@@ -334,10 +334,19 @@ var VenusUploadSecLevel = function VenusUploadSecLevel(props) {
334
334
  }
335
335
  })), !uploading && /*#__PURE__*/React.createElement(_Tooltip, {
336
336
  title: "\u4E0B\u8F7D"
337
- }, /*#__PURE__*/React.createElement("a", {
338
- href: downloadFile(file.fileId),
339
- download: file.name
340
- }, /*#__PURE__*/React.createElement(DownloadOutlined, null))), /*#__PURE__*/React.createElement(_Tooltip, {
337
+ }, /*#__PURE__*/React.createElement(DownLoad, {
338
+ hideProgress: true,
339
+ params: {
340
+ method: 'get'
341
+ },
342
+ fileName: function fileName() {
343
+ return file.name;
344
+ },
345
+ text: /*#__PURE__*/React.createElement("a", {
346
+ rel: "noopener noreferrer"
347
+ }, /*#__PURE__*/React.createElement(DownloadOutlined, null)),
348
+ loadUrl: downloadFile(file.fileId)
349
+ })), /*#__PURE__*/React.createElement(_Tooltip, {
341
350
  title: "\u5220\u9664"
342
351
  }, /*#__PURE__*/React.createElement(DeleteOutlined, {
343
352
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",