forked from github/dataease
feat: 删除强制debugger
This commit is contained in:
parent
4b055dc2fc
commit
63ff02c462
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user