forked from github/dataease
fix: 去除前端debugger
This commit is contained in:
parent
e739459c4e
commit
c1d9387578
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -43,7 +43,6 @@ export default {
|
||||
this.mainHeight = mainHeight
|
||||
},
|
||||
restore() {
|
||||
debugger
|
||||
const _this = this
|
||||
_this.dataLoading = true
|
||||
if (!this.$route.params.reportId) {
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -1270,7 +1270,6 @@ export default {
|
||||
this.timeMachine = null
|
||||
},
|
||||
openChartDetailsDialog(chartInfo) {
|
||||
debugger
|
||||
this.showChartInfo = chartInfo.chart
|
||||
this.showChartTableInfo = chartInfo.tableChart
|
||||
this.chartDetailsVisible = true
|
||||
|
@ -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()
|
||||
|
@ -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) {
|
||||
|
@ -578,7 +578,6 @@ export default {
|
||||
this.$store.commit('resetViewEditInfo')
|
||||
},
|
||||
mounted() {
|
||||
debugger
|
||||
// this.insertToBody()
|
||||
bus.$on('component-on-drag', () => {
|
||||
this.show = false
|
||||
|
Loading…
Reference in New Issue
Block a user