@gingkoo/pandora-explorer 0.0.1-alpha.28 → 0.0.1-alpha.29

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/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @gingkoo/pandora-explorer v0.0.1-alpha.28
2
+ * @gingkoo/pandora-explorer v0.0.1-alpha.29
3
3
  */
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import cx$1 from 'classnames';
@@ -1520,6 +1520,7 @@ function Dropdown(props) {
1520
1520
  },
1521
1521
  onContextMenu: e => {
1522
1522
  e.preventDefault();
1523
+ e.stopPropagation();
1523
1524
  if (trigger == 'contextMenu') {
1524
1525
  let x = 0;
1525
1526
  let y = 0;
@@ -4947,13 +4948,12 @@ registerMenu('folder', [{
4947
4948
  suffix: ''
4948
4949
  }, {
4949
4950
  type: 'line'
4951
+ }, {
4952
+ key: 'download',
4953
+ icon: 'download',
4954
+ title: '下载'
4950
4955
  },
4951
4956
  // {
4952
- // key: 'download',
4953
- // icon: 'download',
4954
- // title: '下载',
4955
- // },
4956
- // {
4957
4957
  // key: 'share-link-file',
4958
4958
  // icon: <ShareSvg />,
4959
4959
  // title: '外链接分享',
@@ -4991,9 +4991,9 @@ registerMenu('cur-folder', [{
4991
4991
  }, {
4992
4992
  type: 'line'
4993
4993
  }, {
4994
- key: 'paste',
4995
- icon: 'paste',
4996
- title: '粘贴'
4994
+ key: 'copy',
4995
+ icon: 'copy',
4996
+ title: '复制'
4997
4997
  }, {
4998
4998
  key: 'file-upload',
4999
4999
  icon: 'upload',