Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zghywpc-vue
Project
Project
Details
Activity
Releases
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
李苏
zghywpc-vue
Commits
d78fbec1
Commit
d78fbec1
authored
Oct 10, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重复模型名称调整
parent
cccb801b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+13
-0
No files found.
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
d78fbec1
...
@@ -1433,6 +1433,19 @@
...
@@ -1433,6 +1433,19 @@
this
.
loading
=
false
this
.
loading
=
false
this
.
viewer
.
scene
.
traverse
(
model
=>
{
this
.
viewer
.
scene
.
traverse
(
model
=>
{
if
(
model
.
isMesh
)
{
if
(
model
.
isMesh
)
{
if
(
model
.
name
==
'2RCP0620-2R8015014'
){
model
.
name
=
'2RCP0620A'
}
if
(
model
.
name
==
'2RCP0620-2R8015052'
){
model
.
name
=
'2RCP0620B'
}
if
(
model
.
name
==
'1RCP0620-1R8015045'
){
model
.
name
=
'1RCP0620A'
}
if
(
model
.
name
==
'1RCP0620-1R8015909'
){
model
.
name
=
'1RCP0620B'
}
model
.
oldmaterial
=
model
.
material
.
clone
()
model
.
oldmaterial
=
model
.
material
.
clone
()
}
}
})
})
...
...
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