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)
|
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)
|
||||||
|
@ -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)// 获取宽度比
|
||||||
|
@ -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
|
||||||
|
@ -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 })
|
||||||
|
Loading…
Reference in New Issue
Block a user