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
e5d1a624
Commit
e5d1a624
authored
Sep 10, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
6fdd160c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+4
-3
No files found.
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
e5d1a624
...
@@ -659,6 +659,7 @@
...
@@ -659,6 +659,7 @@
item
.
revert
()
item
.
revert
()
})
})
this
.
jzReMaterialQue
.
splice
(
0
,
this
.
jzReMaterialQue
.
length
)
this
.
jzReMaterialQue
.
splice
(
0
,
this
.
jzReMaterialQue
.
length
)
this
.
$post
(
'ksh/query'
,
this
.
$post
(
'ksh/query'
,
params
params
).
then
(
res
=>
{
).
then
(
res
=>
{
...
@@ -669,12 +670,13 @@
...
@@ -669,12 +670,13 @@
this
.
viewer
.
scene
.
traverse
((
model
)
=>
{
this
.
viewer
.
scene
.
traverse
((
model
)
=>
{
if
(
model
.
isMesh
)
{
if
(
model
.
isMesh
)
{
if
(
sbxxCodeList
.
includes
(
model
.
name
))
{
if
(
sbxxCodeList
.
includes
(
model
.
name
))
{
console
.
log
(
model
.
name
,
'ces'
)
let
jzReMaterialQueItem
=
{
let
jzReMaterialQueItem
=
{
model
,
model
,
material
:
model
.
material
.
clone
(),
material
:
model
.
material
.
clone
(),
revert
:
function
()
{
revert
:
function
()
{
this
.
model
.
material
=
this
.
material
model
.
material
=
this
.
material
}
}
}
}
this
.
jzReMaterialQue
.
push
(
jzReMaterialQueItem
)
this
.
jzReMaterialQue
.
push
(
jzReMaterialQueItem
)
...
@@ -974,7 +976,6 @@
...
@@ -974,7 +976,6 @@
model
=
intersects
[
0
].
object
model
=
intersects
[
0
].
object
}
}
this
.
selectedModel
=
model
this
.
selectedModel
=
model
rconsole
.
log
(
'选择设备'
,
model
.
name
)
/* 执行并情况材料队列 */
/* 执行并情况材料队列 */
this
.
reMaterialQue
.
forEach
(
item
=>
{
this
.
reMaterialQue
.
forEach
(
item
=>
{
item
.
revert
()
item
.
revert
()
...
...
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