提交 63ff02c4 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

feat: 删除强制debugger

上级 4b055dc2
......@@ -1083,7 +1083,6 @@ export default {
this.element.propValue && this.element.propValue.viewId && eventBus.$emit('resizing', this.element.propValue.viewId)
},
changeWidth(val) {
debugger
// console.log('parentWidth', this.parentWidth)
// console.log('parentHeight', this.parentHeight)
const [newWidth, _] = snapToGrid(this.grid, val, 0, this.scale)
......
......@@ -126,7 +126,6 @@ export default {
changeStyleWithScale,
getStyle,
restore() {
debugger
const canvasHeight = document.getElementById('canvasInfoTemp').offsetHeight
const canvasWidth = document.getElementById('canvasInfoTemp').offsetWidth
this.scaleWidth = canvasWidth * 100 / parseInt(this.canvasStyleData.width)// 获取宽度比
......
......@@ -57,7 +57,6 @@ export default {
watch: {
active: {
handler(newVal, oldVla) {
debugger
this.removeSelectText()
},
deep: true
......
......@@ -447,7 +447,6 @@ export default {
this.$store.commit('recordSnapshot')
this.clearCurrentInfo()
debugger
// 文字组件
if (component.type === 'v-text' || component.type === 'rect-shape') {
this.$store.commit('setCurComponent', { component: component, index: this.componentData.length })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论