@gingkoo/pandora-explorer 0.0.1-alpha.56 → 0.0.1-alpha.57
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 +4 -3
- package/lib/es/index.js.map +1 -1
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @gingkoo/pandora-explorer v0.0.1-alpha.
|
|
2
|
+
* @gingkoo/pandora-explorer v0.0.1-alpha.57
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -6400,7 +6400,7 @@ const SelectBox = props => {
|
|
|
6400
6400
|
document.removeEventListener('dragleave', handleDragLeave);
|
|
6401
6401
|
document?.removeEventListener('drop', handleDrop);
|
|
6402
6402
|
};
|
|
6403
|
-
}, [store.curInfo, store.dataMap]);
|
|
6403
|
+
}, [store.curInfo, store.dataMap, store.curInfo]);
|
|
6404
6404
|
useEffect(() => {
|
|
6405
6405
|
document.addEventListener('mousemove', handleBodyMousemove);
|
|
6406
6406
|
document.addEventListener('mouseup', handleBodyMouseup);
|
|
@@ -6588,6 +6588,7 @@ const SelectBox = props => {
|
|
|
6588
6588
|
}
|
|
6589
6589
|
if (!key) return;
|
|
6590
6590
|
typeof props.onUpload === 'function' && props?.onUpload(files, key, empty);
|
|
6591
|
+
store.curInfo && loadData(store.curInfo?.key);
|
|
6591
6592
|
}, 500);
|
|
6592
6593
|
};
|
|
6593
6594
|
function handleDragEnter(e) {
|
|
@@ -8012,7 +8013,7 @@ const Explorer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8012
8013
|
} else {
|
|
8013
8014
|
curInfo?.key && loadData(curInfo?.key);
|
|
8014
8015
|
}
|
|
8015
|
-
if (type == '
|
|
8016
|
+
if (param.type == 'folder') {
|
|
8016
8017
|
reloadNode(param.parentPath);
|
|
8017
8018
|
}
|
|
8018
8019
|
return;
|