Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
d218dcb5
Commit
d218dcb5
authored
Jul 11, 2019
by
v-liguo
Browse files
fix issue#1263
parent
917ce97f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/webui/src/components/trial-detail/Intermeidate.tsx
src/webui/src/components/trial-detail/Intermeidate.tsx
+6
-1
No files found.
src/webui/src/components/trial-detail/Intermeidate.tsx
View file @
d218dcb5
...
@@ -158,6 +158,9 @@ class Intermediate extends React.Component<IntermediateProps, IntermediateState>
...
@@ -158,6 +158,9 @@ class Intermediate extends React.Component<IntermediateProps, IntermediateState>
// user not input message
// user not input message
if
(
pointVal
===
''
||
minVal
===
''
)
{
if
(
pointVal
===
''
||
minVal
===
''
)
{
alert
(
'
Please input filter message
'
);
alert
(
'
Please input filter message
'
);
// if (this._isMounted) {
// this.setState({ isLoadconfirmBtn: false });
// }
}
else
{
}
else
{
// user not input max value
// user not input max value
const
position
=
JSON
.
parse
(
pointVal
);
const
position
=
JSON
.
parse
(
pointVal
);
...
@@ -184,7 +187,9 @@ class Intermediate extends React.Component<IntermediateProps, IntermediateState>
...
@@ -184,7 +187,9 @@ class Intermediate extends React.Component<IntermediateProps, IntermediateState>
this
.
setState
({
filterSource
:
filterSource
});
this
.
setState
({
filterSource
:
filterSource
});
}
}
this
.
drawIntermediate
(
filterSource
);
this
.
drawIntermediate
(
filterSource
);
}
const
counts
=
this
.
state
.
clickCounts
+
1
;
const
counts
=
this
.
state
.
clickCounts
+
1
;
if
(
this
.
_isMounted
)
{
this
.
setState
({
isLoadconfirmBtn
:
false
,
clickCounts
:
counts
});
this
.
setState
({
isLoadconfirmBtn
:
false
,
clickCounts
:
counts
});
}
}
});
});
...
...
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