Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
f2cac6ce
Commit
f2cac6ce
authored
Jan 28, 2026
by
放生的三文鱼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
传出资产浏览的图
parent
96600c1b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
index.html
public/index.html
+6
-0
App.js
src/App.js
+14
-0
No files found.
public/index.html
View file @
f2cac6ce
...
@@ -30,4 +30,10 @@
...
@@ -30,4 +30,10 @@
To create a production bundle, use `npm run build` or `yarn build`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
-->
</body>
</body>
<style
scoped
>
#root
{
height
:
100%
;
width
:
100%
;
}
</style>
</html>
</html>
src/App.js
View file @
f2cac6ce
...
@@ -28,6 +28,7 @@ import AssetEvaluate from './view/Manage/AssetEvaluate';
...
@@ -28,6 +28,7 @@ import AssetEvaluate from './view/Manage/AssetEvaluate';
import
VersionCompare
from
'./view/Manage/AssetManage/Component/VersionCompare'
import
VersionCompare
from
'./view/Manage/AssetManage/Component/VersionCompare'
import
{
AssetBrowseReference
,
AssetDraftReference
,
AssetMountReference
}
from
'./util/constant'
;
import
{
AssetBrowseReference
,
AssetDraftReference
,
AssetMountReference
}
from
'./util/constant'
;
import
AssetColumnDetail
from
'./view/Manage/AssetManage/Component/AssetColumnDetail'
;
import
AssetColumnDetail
from
'./view/Manage/AssetManage/Component/AssetColumnDetail'
;
import
RelationContainer
from
'./view/Manage/AssetBrowse/Component/RelationContainer'
;
const
AssetDraft
=
loadable
(()
=>
import
(
'./view/Manage/AssetDraft'
));
const
AssetDraft
=
loadable
(()
=>
import
(
'./view/Manage/AssetDraft'
));
const
AssetAction
=
loadable
(()
=>
import
(
'./view/Manage/AssetManage/Component/AssetAction'
));
const
AssetAction
=
loadable
(()
=>
import
(
'./view/Manage/AssetManage/Component/AssetAction'
));
...
@@ -222,6 +223,19 @@ export class App extends React.Component {
...
@@ -222,6 +223,19 @@ export class App extends React.Component {
);
);
}
}
if
(
message
===
'showRelationContainer'
)
{
console
.
log
(
'hostParams'
,
hostParams
);
return
(
<
AppContext
.
Provider
value
=
{{
env
:
hostParams
?.
env
,
user
:
hostParams
?.
user
,
setGlobalState
,
onGlobalStateChange
}}
>
<
RelationContainer
nodeParams
=
{
hostParams
?.
nodeParams
}
dirs
=
{
hostParams
?.
dirs
}
resize
=
{
false
}
/
>
<
/AppContext.Provider>
);
}
return
(
return
(
<
AppContext
.
Provider
value
=
{{
<
AppContext
.
Provider
value
=
{{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment