Commit e5d1a624 authored by 李苏's avatar 李苏 💬

bug

parent 6fdd160c
......@@ -659,6 +659,7 @@
item.revert()
})
this.jzReMaterialQue.splice(0, this.jzReMaterialQue.length)
this.$post('ksh/query',
params
).then(res => {
......@@ -669,12 +670,13 @@
this.viewer.scene.traverse((model) => {
if (model.isMesh) {
if (sbxxCodeList.includes(model.name)) {
console.log(model.name,'ces')
let jzReMaterialQueItem = {
model,
material: model.material.clone(),
revert: function() {
this.model.material = this.material
model.material = this.material
}
}
this.jzReMaterialQue.push(jzReMaterialQueItem)
......@@ -974,7 +976,6 @@
model = intersects[0].object
}
this.selectedModel = model
rconsole.log('选择设备', model.name)
/* 执行并情况材料队列 */
this.reMaterialQue.forEach(item => {
item.revert()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment