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

refactor:去掉多余的前端日志

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