From c1d9387578ae14367866f46bf374a44061dee90e Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 23 Mar 2022 14:26:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E9=99=A4=E5=89=8D=E7=AB=AFdebu?= =?UTF-8?q?gger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/DeDrag/index.vue | 5 +---- frontend/src/components/DeDrag/shadow.vue | 1 - frontend/src/components/canvas/components/Editor/EditBar.vue | 1 - .../src/components/canvas/components/Editor/PreviewEject.vue | 1 - .../src/components/canvas/components/Editor/SettingMenu.vue | 1 - .../components/canvas/components/Editor/SettingMenuTest.vue | 1 - frontend/src/components/canvas/components/Editor/index.vue | 1 - frontend/src/views/chart/view/ChartEdit.vue | 2 -- frontend/src/views/panel/OuterParamsSet/index.vue | 2 -- frontend/src/views/panel/edit/index.vue | 1 - 10 files changed, 1 insertion(+), 15 deletions(-) diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 20cb6b3100..3bae65830c 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -531,7 +531,7 @@ export default { width: this.computedMainSlotWidth, height: this.computedMainSlotHeight } - if (this.element.commonBackground&&this.element.commonBackground.enable) { + if (this.element.commonBackground && this.element.commonBackground.enable) { if (this.element.commonBackground.backgroundType === 'innerImage') { style['background'] = `url(${this.element.commonBackground.innerImage}) no-repeat` } else if (this.element.commonBackground.backgroundType === 'outerImage') { @@ -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 diff --git a/frontend/src/components/DeDrag/shadow.vue b/frontend/src/components/DeDrag/shadow.vue index 97bcfd614a..b57a4d3334 100644 --- a/frontend/src/components/DeDrag/shadow.vue +++ b/frontend/src/components/DeDrag/shadow.vue @@ -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 diff --git a/frontend/src/components/canvas/components/Editor/EditBar.vue b/frontend/src/components/canvas/components/Editor/EditBar.vue index d13c4f6910..37c46f8b6e 100644 --- a/frontend/src/components/canvas/components/Editor/EditBar.vue +++ b/frontend/src/components/canvas/components/Editor/EditBar.vue @@ -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 diff --git a/frontend/src/components/canvas/components/Editor/PreviewEject.vue b/frontend/src/components/canvas/components/Editor/PreviewEject.vue index 3a1a9c8794..5746f77bef 100644 --- a/frontend/src/components/canvas/components/Editor/PreviewEject.vue +++ b/frontend/src/components/canvas/components/Editor/PreviewEject.vue @@ -43,7 +43,6 @@ export default { this.mainHeight = mainHeight }, restore() { - debugger const _this = this _this.dataLoading = true if (!this.$route.params.reportId) { diff --git a/frontend/src/components/canvas/components/Editor/SettingMenu.vue b/frontend/src/components/canvas/components/Editor/SettingMenu.vue index c08b8b260c..0d065d0db3 100644 --- a/frontend/src/components/canvas/components/Editor/SettingMenu.vue +++ b/frontend/src/components/canvas/components/Editor/SettingMenu.vue @@ -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) diff --git a/frontend/src/components/canvas/components/Editor/SettingMenuTest.vue b/frontend/src/components/canvas/components/Editor/SettingMenuTest.vue index 3144ff9c82..53e57d220e 100644 --- a/frontend/src/components/canvas/components/Editor/SettingMenuTest.vue +++ b/frontend/src/components/canvas/components/Editor/SettingMenuTest.vue @@ -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) diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue index 62ca0c7aa8..733be762e2 100644 --- a/frontend/src/components/canvas/components/Editor/index.vue +++ b/frontend/src/components/canvas/components/Editor/index.vue @@ -1270,7 +1270,6 @@ export default { this.timeMachine = null }, openChartDetailsDialog(chartInfo) { - debugger this.showChartInfo = chartInfo.chart this.showChartTableInfo = chartInfo.tableChart this.chartDetailsVisible = true diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index b8351b03d4..aa4e9d5a8d 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -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() diff --git a/frontend/src/views/panel/OuterParamsSet/index.vue b/frontend/src/views/panel/OuterParamsSet/index.vue index 2b7820906f..8641f9f5dc 100644 --- a/frontend/src/views/panel/OuterParamsSet/index.vue +++ b/frontend/src/views/panel/OuterParamsSet/index.vue @@ -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) { diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index 092c939c42..fa9e50dec5 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -578,7 +578,6 @@ export default { this.$store.commit('resetViewEditInfo') }, mounted() { - debugger // this.insertToBody() bus.$on('component-on-drag', () => { this.show = false