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
a3b1d59d
Commit
a3b1d59d
authored
Feb 05, 2026
by
fanyj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'demo-2024' of
ssh://132.232.112.242:7022/zcx/szse
into demo-2024
parents
2ad30eca
f2cac6ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
index.html
public/index.html
+6
-0
App.js
src/App.js
+28
-1
No files found.
public/index.html
View file @
a3b1d59d
...
@@ -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 @
a3b1d59d
...
@@ -236,7 +236,34 @@ export class App extends React.Component {
...
@@ -236,7 +236,34 @@ 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>
);
}
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