@gingkoo/pandora-explorer 0.0.1-alpha.19 → 0.0.1-alpha.20
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 -4
- 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.20
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -5383,7 +5383,7 @@ const addLevel = (data, levelIndex = 0, filedata) => {
|
|
|
5383
5383
|
while (i < arr.length) {
|
|
5384
5384
|
let item = arr[i];
|
|
5385
5385
|
item['level'] = levelIndex;
|
|
5386
|
-
if (
|
|
5386
|
+
if (item.type == 'file') {
|
|
5387
5387
|
item['isLeaf'] = true;
|
|
5388
5388
|
}
|
|
5389
5389
|
if (Array.isArray(item.children) && item.children.length > 0) {
|
|
@@ -7057,6 +7057,7 @@ const Layout$1 = props => {
|
|
|
7057
7057
|
onDblclick?.(key, info);
|
|
7058
7058
|
}
|
|
7059
7059
|
}
|
|
7060
|
+
console.log(expandkey, '啊我key');
|
|
7060
7061
|
return jsxs("div", {
|
|
7061
7062
|
className: 'file-continer-main',
|
|
7062
7063
|
children: [store?.loading == ApiStatusEnum.LOADING && jsx(Loading, {}), jsxs(SelectBox, {
|
|
@@ -7099,8 +7100,7 @@ const Layout$1 = props => {
|
|
|
7099
7100
|
}), store?.menutype == 'table' && jsx(Tree, {
|
|
7100
7101
|
type: 'table',
|
|
7101
7102
|
checks: checks,
|
|
7102
|
-
expandedKeys:
|
|
7103
|
-
loadedKeys: ['我的天啊/你好啊'],
|
|
7103
|
+
expandedKeys: ['我的天啊/你好啊'],
|
|
7104
7104
|
treeData: store.curlist,
|
|
7105
7105
|
columns: store.columns,
|
|
7106
7106
|
checkType: store.checkType,
|