Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
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
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
station
amos-convertor-view
Commits
3686de18
Commit
3686de18
authored
Apr 10, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理代码
parent
18b80c28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
StageActuator.js
src/view/planMgmt/view/pubview/StageActuator.js
+6
-2
PlayMenuBar.js
src/view/planMgmt/view/pubview/play/PlayMenuBar.js
+1
-1
No files found.
src/view/planMgmt/view/pubview/StageActuator.js
View file @
3686de18
...
...
@@ -272,7 +272,11 @@ class StageActuator extends Component {
if
(
userData
&&
userData
.
dataConfig
&&
userData
.
dataConfig
.
dataDetailUrl
){
conmmonGetService
(
userData
.
dataConfig
.
dataDetailUrl
).
then
(
data
=>
{
this
.
setState
({
modelModal
:
true
,
detailData
:
data
.
dataList
});
if
(
data
.
result
!=
"FAILURE"
){
this
.
setState
({
modelModal
:
true
,
detailData
:
data
.
dataList
});
}
else
{
console
.
error
(
data
.
message
+
'请求元素详情失败'
);
}
},
error
=>
{
console
.
error
(
userData
.
dataConfig
.
dataDetailUrl
+
'请求元素详情失败'
);
...
...
@@ -360,7 +364,7 @@ class StageActuator extends Component {
getDetailContext
=
()
=>
{
const
{
detailData
=
[]
}
=
this
.
state
;
if
(
detailData
.
length
>
0
){
if
(
detailData
!=
null
&&
detailData
.
length
>
0
){
return
detailData
.
map
(
item
=>
{
return
<
Row
className
=
"board-actuator-modal-row"
>
<
Col
className
=
"colTitle"
>
{
item
.
label
}
:
<
/Col
>
...
...
src/view/planMgmt/view/pubview/play/PlayMenuBar.js
View file @
3686de18
...
...
@@ -39,7 +39,7 @@ class PlayMenuBar extends Component {
}
componentWillUnmount
(){
PubSub
.
unsubscribe
(
this
.
tabsPubsub
);
//
PubSub.unsubscribe(this.tabsPubsub);
}
onSelectChange
=
()
=>
{
...
...
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