2 次程式碼提交
lb ... master

作者 SHA1 備註 提交日期
e238691040 Merge pull request 'lb' (#27) from lb into master
Reviewed-on: #27
2023-02-01 10:02:31 +08:00
159edc9fc3 Merge pull request 'lb' (#26) from lb into master
Reviewed-on: #26
2023-01-31 16:13:18 +08:00

查看文件

@@ -142,7 +142,6 @@ export default {
data() {
return {
eqId: null,
oldEqId: null,
currentEquipment: null,
showPage: false,
toggleResize: 'toggle-1' // <=== no need to worry this
@@ -171,17 +170,8 @@ export default {
},
handle3DClick() {
this.eqId = document.getElementById('V3DData').rel
if (this.oldEqId && this.oldEqId === this.eqId) {
// 关闭框
console.log('here.........关闭框', this.oldEqId, this.eqId)
this.currentEquipment = null
this.oldEqId = null
return
}
// alert(this.eqId)
if (this.eqId) {
this.oldEqId = this.eqId
this.currentEquipment = eqList.find(item => item.id === this.eqId)
}
}