提交 c427e548 authored 作者: wangjiahao's avatar wangjiahao

refactor:去掉多余的前端日志

上级 4e827616
...@@ -1576,7 +1576,7 @@ export default { ...@@ -1576,7 +1576,7 @@ export default {
}, },
// 记录当前样式 跟随阴影位置 矩阵处理 // 记录当前样式 跟随阴影位置 矩阵处理
recordMatrixCurShadowStyle() { recordMatrixCurShadowStyle() {
console.log('recordMatrixCurShadowStyle') // console.log('recordMatrixCurShadowStyle')
// debugger // debugger
const left = (this.element.x - 1) * this.curCanvasScale.matrixStyleWidth const left = (this.element.x - 1) * this.curCanvasScale.matrixStyleWidth
const top = (this.element.y - 1) * this.curCanvasScale.matrixStyleHeight const top = (this.element.y - 1) * this.curCanvasScale.matrixStyleHeight
......
...@@ -1446,7 +1446,7 @@ export default { ...@@ -1446,7 +1446,7 @@ export default {
this.infoBox.startY = e.pageY this.infoBox.startY = e.pageY
}, },
onStartMove(e, item, index) { onStartMove(e, item, index) {
console.log('onStartMove:' + index) // console.log('onStartMove:' + index)
const vm = this const vm = this
// e.preventDefault(); // e.preventDefault();
......
...@@ -114,7 +114,7 @@ const data = { ...@@ -114,7 +114,7 @@ const data = {
// }, // },
setShapeStyle({ curComponent, canvasStyleData, curCanvasScale }, { top, left, width, height, rotate }) { setShapeStyle({ curComponent, canvasStyleData, curCanvasScale }, { top, left, width, height, rotate }) {
console.log('setShapeStyle:width=' + width + ';height=' + height) // console.log('setShapeStyle:width=' + width + ';height=' + height)
if (top || top === 0) curComponent.style.top = top / curCanvasScale.scalePointHeight if (top || top === 0) curComponent.style.top = top / curCanvasScale.scalePointHeight
if (left || left === 0) curComponent.style.left = left / curCanvasScale.scalePointWidth if (left || left === 0) curComponent.style.left = left / curCanvasScale.scalePointWidth
if (width || width === 0) curComponent.style.width = width / curCanvasScale.scalePointWidth if (width || width === 0) curComponent.style.width = width / curCanvasScale.scalePointWidth
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论