@gingkoo/pandora-explorer 0.0.1-alpha.102 → 0.0.1-alpha.103
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 -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.103
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -6161,7 +6161,7 @@ var Tree = /*#__PURE__*/forwardRef((props, _ref) => {
|
|
|
6161
6161
|
checkStrictly: true,
|
|
6162
6162
|
expandedKeys: expandedKeys,
|
|
6163
6163
|
loadedKeys: loadedKeys,
|
|
6164
|
-
|
|
6164
|
+
// activeKey={activeKey}
|
|
6165
6165
|
checkable: type == 'table' ? true : false,
|
|
6166
6166
|
selectedKeys: selectedKeys ? selectedKeys : undefined,
|
|
6167
6167
|
autoExpandParent: autoExpandParent,
|
|
@@ -8823,7 +8823,7 @@ const Layout$1 = props => {
|
|
|
8823
8823
|
checks: checks,
|
|
8824
8824
|
activeKey: props?.activeFile,
|
|
8825
8825
|
rename: store.reamekey,
|
|
8826
|
-
selectedKeys: [store.curSelect],
|
|
8826
|
+
selectedKeys: [props?.activeFile || store.curSelect],
|
|
8827
8827
|
expandedKeys: store.expandkey,
|
|
8828
8828
|
loadedKeys: store.loadkey,
|
|
8829
8829
|
treeData: store.curlist,
|