Merge pull request #1956 from dataease/pr@dev@fix_delete_debugger

fix: 去除前端debugger
This commit is contained in:
fit2cloud-chenyw 2022-03-23 14:30:12 +08:00 committed by GitHub
commit b9a0c31aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 1 additions and 15 deletions

View File

@ -1604,7 +1604,6 @@ export default {
},
//
recordCurStyle() {
// debugger
const style = {
...this.defaultStyle
}
@ -1619,7 +1618,6 @@ export default {
//
recordMatrixCurStyle() {
// debugger
const left = Math.round(this.left / this.curCanvasScale.matrixStyleWidth) * this.curCanvasScale.matrixStyleWidth
const top = Math.round(this.top / this.curCanvasScale.matrixStyleHeight) * this.curCanvasScale.matrixStyleHeight
const width = Math.round(this.width / this.curCanvasScale.matrixStyleWidth) * this.curCanvasScale.matrixStyleWidth
@ -1644,7 +1642,6 @@ export default {
},
//
recordMatrixCurShadowStyle() {
// debugger
const left = (this.element.x - 1) * this.curCanvasScale.matrixStyleWidth
const top = (this.element.y - 1) * this.curCanvasScale.matrixStyleHeight
const width = this.element.sizex * this.curCanvasScale.matrixStyleWidth

View File

@ -12,7 +12,6 @@ export default {
computed: {
styleInfo() {
// console.log('styleInfo==>')
// debugger
// console.log('dragComponentInfo==>' + this.dragComponentInfo.shadowStyle.x)
let left = 0
let top = 0

View File

@ -169,7 +169,6 @@ export default {
},
//
recordMatrixCurShadowStyle() {
// debugger
const left = (this.curComponent.x - 1) * this.curCanvasScale.matrixStyleWidth
const top = (this.curComponent.y - 1) * this.curCanvasScale.matrixStyleHeight
const width = this.curComponent.sizex * this.curCanvasScale.matrixStyleWidth

View File

@ -43,7 +43,6 @@ export default {
this.mainHeight = mainHeight
},
restore() {
debugger
const _this = this
_this.dataLoading = true
if (!this.$route.params.reportId) {

View File

@ -128,7 +128,6 @@ export default {
this.$store.commit('recordSnapshot', 'bottomComponent')
},
linkageSetting() {
debugger
// sourceViewId
const targetViewIds = this.componentData.filter(item => item.type === 'view' && item.propValue && item.propValue.viewId)
.map(item => item.propValue.viewId)

View File

@ -126,7 +126,6 @@ export default {
this.$store.commit('recordSnapshot')
},
linkageSetting() {
debugger
// sourceViewId
const targetViewIds = this.componentData.filter(item => item.type === 'view' && item.propValue && item.propValue.viewId)
.map(item => item.propValue.viewId)

View File

@ -1270,7 +1270,6 @@ export default {
this.timeMachine = null
},
openChartDetailsDialog(chartInfo) {
debugger
this.showChartInfo = chartInfo.chart
this.showChartTableInfo = chartInfo.tableChart
this.chartDetailsVisible = true

View File

@ -1404,12 +1404,10 @@ export default {
}
},
created() {
debugger
// this.get(this.$store.state.chart.viewId);
// this.initAreas()
},
mounted() {
debugger
this.bindPluginEvent()
this.initFromPanel()
this.chartInit()

View File

@ -228,7 +228,6 @@ export default {
created() {
},
mounted() {
debugger
this.init()
},
destroyed() {
@ -237,7 +236,6 @@ export default {
init() {
//
queryWithPanelId(this.panelInfo.id).then(rsp => {
debugger
this.outerParams = rsp.data
this.outerParamsInfoArray = this.outerParams.outerParamsInfoArray
if (this.outerParamsInfoArray.length > 0) {

View File

@ -578,7 +578,6 @@ export default {
this.$store.commit('resetViewEditInfo')
},
mounted() {
debugger
// this.insertToBody()
bus.$on('component-on-drag', () => {
this.show = false