@gingkoo/pandora-explorer 0.0.1-alpha.46 → 0.0.1-alpha.48
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 +3 -2
- 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.48
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -7767,7 +7767,8 @@ const Explorer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7767
7767
|
let data = await _onRename?.(key, value, info);
|
|
7768
7768
|
if (key == curInfo?.key && type == 'menu') {
|
|
7769
7769
|
if (data?.key) {
|
|
7770
|
-
|
|
7770
|
+
loadData(data.key);
|
|
7771
|
+
updata(key, 'key', data.key);
|
|
7771
7772
|
}
|
|
7772
7773
|
} else {
|
|
7773
7774
|
curInfo?.key && loadData(curInfo?.key);
|