Parcourir la source

1、DrawTools针对App的适配完成
2、DrawTools与CrEditProperty.vue属性编辑框的绑定完成

不会爬树的猴 il y a 2 ans
Parent
commit
afada904a1

Fichier diff supprimé car celui-ci est trop grand
+ 17 - 6
src/components/CrMap/CrEditProperty.ce.vue


+ 6 - 8
src/components/CrMap/DrawTools.js

@@ -2766,8 +2766,6 @@ Object.assign(DrawTools.prototype, {
 		this._clear(true);
 		/* 结束编辑状态 */
 		this._unActivateEdit();
-		/* 删除坐标轴 */
-		this._removeCoorinateAxis();
 		/* 关闭属性编辑框 */
 		this._closePropertyEditDialog();
 		/* 移除操作容器 */
@@ -3783,11 +3781,8 @@ Object.assign(DrawTools.prototype, {
 		params.axisX = params.axisY = params.axisZ = 0
 		/* 重新关联墙实体的属性 */
 		this._editEntity.setParams(params);
-		/* 重启坐标轴 */
-		this._unActivateEdit();
-		this._console(this._editEntity);
-		// this._editEntity.setEntityType(DrawTools.DrawType.VideoWall);
-		// this._activateEdit(this._editEntity);
+		/* 重置调整坐标轴 已保证坐标轴的位置正确+ */
+		this._activateEdit(this._editEntity);
 	},
 
 	/**
@@ -4028,7 +4023,10 @@ Object.assign(DrawTools.prototype, {
 	 * @ignore 生成方法时不对外公开
 	 */
 	_unActivateEdit: function() {
+		/* 移除编辑点 */
 		this._clearEditPoint();
+		/* 删除坐标轴 */
+		this._removeCoorinateAxis();
 		/* 关闭属性编辑框 */
 		this._closePropertyEditDialog();
 	},
@@ -4820,7 +4818,7 @@ Object.assign(DrawTools.prototype, {
 			this._sketchEditPoints.push(position.clone());
 			/* 小于索引不会创建 */
 			if (i < strIndex) continue;
-			/* 为了保证不重复创建节点 需���进行特殊过滤处理 */
+			/* 为了保证不重复创建节点 需进行特殊过滤处理 */
 			if (i !== 0 && position.x === positions[0].x && position.y === positions[0].y && position.z ===
 				positions[0]
 				.z) {

BIN
src/components/CrMap/image/backheader.png


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff