Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
Project
Project
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
58cb6dd0
You need to sign in or sign up before continuing.
Commit
58cb6dd0
authored
Jun 10, 2020
by
DarkForst
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
56f498de
Pipeline
#15266
passed with stages
in 1 minute and 2 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
workspace.xml
.idea/workspace.xml
+3
-4
Process.jsx
src/pages/EventProcessing/Process.jsx
+2
-2
No files found.
.idea/workspace.xml
View file @
58cb6dd0
...
@@ -169,10 +169,9 @@
...
@@ -169,10 +169,9 @@
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"686"
/>
<option
name=
"x"
value=
"685"
/>
<option
name=
"y"
value=
"1"
/>
<option
name=
"width"
value=
"682"
/>
<option
name=
"width"
value=
"681"
/>
<option
name=
"height"
value=
"769"
/>
<option
name=
"height"
value=
"768"
/>
</component>
</component>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"true"
>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"true"
>
<ConfirmationsSetting
value=
"1"
id=
"添加"
/>
<ConfirmationsSetting
value=
"1"
id=
"添加"
/>
...
...
src/pages/EventProcessing/Process.jsx
View file @
58cb6dd0
...
@@ -72,7 +72,7 @@ const Process = (props) => {
...
@@ -72,7 +72,7 @@ const Process = (props) => {
setAdjunctData
(
res
)
setAdjunctData
(
res
)
});
});
};
};
const
[
button
,
setButton
]
=
useState
([])
//
const [button, setButton] = useState([])
const
getButton
=
uuid
=>
{
const
getButton
=
uuid
=>
{
axiosRequest
({
axiosRequest
({
method
:
'post'
,
method
:
'post'
,
...
@@ -80,7 +80,7 @@ const Process = (props) => {
...
@@ -80,7 +80,7 @@ const Process = (props) => {
body
:
{
curNodeId
:
nodeId
}
body
:
{
curNodeId
:
nodeId
}
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
setButton
(
res
)
//
setButton(res)
});
});
};
};
useEffect
(()
=>
{
useEffect
(()
=>
{
...
...
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