Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
ff5da86c
Commit
ff5da86c
authored
Nov 25, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改甘特图报错的问题
parent
4a92a4af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
config.js
...mes/src/privateComponents/components/MBOMConfig/config.js
+6
-1
No files found.
applications/dee-mes/src/privateComponents/components/MBOMConfig/config.js
View file @
ff5da86c
...
@@ -128,7 +128,12 @@ export default {
...
@@ -128,7 +128,12 @@ export default {
item
.
isCritical
=
_link
.
isCritical
item
.
isCritical
=
_link
.
isCritical
item
.
costHours
=
_link
.
costHours
item
.
costHours
=
_link
.
costHours
}
else
{
}
else
{
const
index
=
this
.
modifyData
.
links
.
findIndex
(
l
=>
l
.
id
===
_link
.
id
&&
l
.
sourceId
===
_link
.
sourceId
&&
l
.
targetId
===
_link
.
targetId
)
if
(
index
===
-
1
)
{
this
.
modifyData
.
links
.
push
(
_link
)
this
.
modifyData
.
links
.
push
(
_link
)
}
else
{
this
.
modifyData
.
links
[
index
]
=
_link
}
}
}
}
}
},
},
...
...
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