refactor:去掉多余的前端日志

This commit is contained in:
wangjiahao 2021-10-09 11:44:01 +08:00
parent 4e82761671
commit c427e548c0
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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();

View File

@ -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