feat: 删除强制debugger

This commit is contained in:
fit2cloud-chenyw 2021-06-22 14:41:47 +08:00
parent 4b055dc2fc
commit 63ff02c462
4 changed files with 0 additions and 4 deletions

View File

@ -1083,7 +1083,6 @@ export default {
this.element.propValue && this.element.propValue.viewId && eventBus.$emit('resizing', this.element.propValue.viewId) this.element.propValue && this.element.propValue.viewId && eventBus.$emit('resizing', this.element.propValue.viewId)
}, },
changeWidth(val) { changeWidth(val) {
debugger
// console.log('parentWidth', this.parentWidth) // console.log('parentWidth', this.parentWidth)
// console.log('parentHeight', this.parentHeight) // console.log('parentHeight', this.parentHeight)
const [newWidth, _] = snapToGrid(this.grid, val, 0, this.scale) const [newWidth, _] = snapToGrid(this.grid, val, 0, this.scale)

View File

@ -126,7 +126,6 @@ export default {
changeStyleWithScale, changeStyleWithScale,
getStyle, getStyle,
restore() { restore() {
debugger
const canvasHeight = document.getElementById('canvasInfoTemp').offsetHeight const canvasHeight = document.getElementById('canvasInfoTemp').offsetHeight
const canvasWidth = document.getElementById('canvasInfoTemp').offsetWidth const canvasWidth = document.getElementById('canvasInfoTemp').offsetWidth
this.scaleWidth = canvasWidth * 100 / parseInt(this.canvasStyleData.width)// this.scaleWidth = canvasWidth * 100 / parseInt(this.canvasStyleData.width)//

View File

@ -57,7 +57,6 @@ export default {
watch: { watch: {
active: { active: {
handler(newVal, oldVla) { handler(newVal, oldVla) {
debugger
this.removeSelectText() this.removeSelectText()
}, },
deep: true deep: true

View File

@ -447,7 +447,6 @@ export default {
this.$store.commit('recordSnapshot') this.$store.commit('recordSnapshot')
this.clearCurrentInfo() this.clearCurrentInfo()
debugger
// //
if (component.type === 'v-text' || component.type === 'rect-shape') { if (component.type === 'v-text' || component.type === 'rect-shape') {
this.$store.commit('setCurComponent', { component: component, index: this.componentData.length }) this.$store.commit('setCurComponent', { component: component, index: this.componentData.length })