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
2ad30eca
Commit
2ad30eca
authored
Feb 05, 2026
by
fanyj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
96600c1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
App.js
src/App.js
+15
-0
index.less
src/index.less
+4
-0
No files found.
src/App.js
View file @
2ad30eca
...
@@ -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'
));
...
@@ -221,6 +222,20 @@ export class App extends React.Component {
...
@@ -221,6 +222,20 @@ export class App extends React.Component {
<
/AppContext.Provider
>
<
/AppContext.Provider
>
);
);
}
}
if
(
message
===
'showRelationContainer'
)
{
console
.
log
(
'hostParams1'
,
hostParams
);
return
(
<
AppContext
.
Provider
value
=
{{
env
:
hostParams
?.
env
,
user
:
hostParams
?.
user
,
setGlobalState
,
onGlobalStateChange
}}
>
<
RelationContainer
nodeParams
=
{
hostParams
?.
nodeParams
}
onChange
=
{
hostParams
?.
changeNode
}
dirs
=
{
hostParams
?.
dirs
}
resize
=
{
false
}
/
>
<
/AppContext.Provider>
);
}
return
(
return
(
...
...
src/index.less
View file @
2ad30eca
...
@@ -18,6 +18,10 @@ body {
...
@@ -18,6 +18,10 @@ body {
font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
}
}
#root{
height: 100%;
}
code {
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
monospace;
...
...
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