Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-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-station-module-view
Commits
e0073c4b
Commit
e0073c4b
authored
Jun 24, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改缺陷868
parent
5d562060
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+4
-1
No files found.
mods/components/3dviewConvertor/view/View3D.js
View file @
e0073c4b
...
@@ -1087,7 +1087,10 @@ class View3D extends Component {
...
@@ -1087,7 +1087,10 @@ class View3D extends Component {
if
(
selectArea
&&
selectArea
.
id
)
{
if
(
selectArea
&&
selectArea
.
id
)
{
getPointsByRegionIdAction
(
selectArea
.
id
).
then
(
d
=>
{
getPointsByRegionIdAction
(
selectArea
.
id
).
then
(
d
=>
{
if
(
d
&&
d
.
length
===
0
){
if
(
d
&&
d
.
length
===
0
){
if
(
!
routePathData
.
some
(
r
=>
r
.
riskSourceId
===
selectArea
.
id
)){
const
index
=
routePathData
.
findIndex
(
item
=>
item
.
riskSourceId
===
selectArea
.
id
);
if
(
index
>=
0
)
{
routePathData
[
index
].
routePath
=
''
;
}
else
{
routePathData
.
push
({
routePathData
.
push
({
riskSourceId
:
selectArea
.
id
,
riskSourceId
:
selectArea
.
id
,
routePath
:
''
routePath
:
''
...
...
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