diff --git a/src/views/index.vue b/src/views/index.vue index 803a2cf..8aa5857 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1859,9 +1859,10 @@ export default { } }); }, - //修改模拟区组件、图形 + //双击修改模拟区组件、图形 getSimulationAreaEdit(id, type, componentType, name, number) { - //console.log('number', number); + // console.log('执行了getSimulationAreaEdit'); + // console.log('number', number); this.numberNew = number; if (type == '图形') { this.form.id = id; @@ -1871,6 +1872,7 @@ export default { getJianktxDetails({ GraphicId: this.form.id }).then((res) => { this.form.name = res.data.data.graphicName; this.form.type = res.data.data.graphicType; + this.form.Direction = res.data.data.direction; this.typeCheckList = res.data.data.type.split('|'); if (res.data.data.isPerceptualCoding == '0') { this.switchValue = 0; @@ -2042,7 +2044,7 @@ export default { this.title = this.figureType(item); this.orderShow = false; }, - //双击图形修改图形名称弹框 + //右击图形修改图形名称弹框 getModifyTheNameN(data, number) { this.orderShow = true; //console.log('data', data);