forked from github/dataease
feat: 删除debugger
This commit is contained in:
parent
a783be2556
commit
26a25d0338
@ -41,7 +41,6 @@ export default {
|
||||
]),
|
||||
methods: {
|
||||
edit() {
|
||||
debugger
|
||||
// 编辑时临时保存 当前修改的画布
|
||||
localStorage.setItem('canvasDataEditTmp', JSON.stringify(this.componentData))
|
||||
localStorage.setItem('canvasStyleEditTmp', JSON.stringify(this.canvasStyleData))
|
||||
|
@ -54,7 +54,6 @@ export default {
|
||||
this.$emit('change', false)
|
||||
},
|
||||
restore() {
|
||||
debugger
|
||||
// 用保存的数据恢复画布
|
||||
if (localStorage.getItem('canvasData')) {
|
||||
this.componentData = this.resetID(JSON.parse(localStorage.getItem('canvasData')))
|
||||
|
@ -134,7 +134,6 @@ export default {
|
||||
this.isShowArea = true
|
||||
|
||||
const move = (moveEvent) => {
|
||||
debugger
|
||||
this.width = Math.abs(moveEvent.clientX - startX)
|
||||
this.height = Math.abs(moveEvent.clientY - startY)
|
||||
if (moveEvent.clientX < startX) {
|
||||
|
@ -87,7 +87,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
closePanelEdit() {
|
||||
debugger
|
||||
bus.$emit('PanelSwitchComponent', { name: 'PanelMain' })
|
||||
},
|
||||
goFile() {
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
<main>
|
||||
<!-- 左侧组件列表 -->
|
||||
<!-- <section class="left">-->
|
||||
<!-- <ComponentList />-->
|
||||
<!-- </section>-->
|
||||
<!-- <section class="left">-->
|
||||
<!-- <ComponentList />-->
|
||||
<!-- </section>-->
|
||||
<!-- 中间画布 -->
|
||||
<section class="center">
|
||||
<div
|
||||
@ -80,7 +80,6 @@ export default {
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
|
||||
debugger
|
||||
let component
|
||||
const id = e.dataTransfer.getData('componentId')
|
||||
componentList.forEach(componentTemp => {
|
||||
|
@ -56,7 +56,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
drawEcharts() {
|
||||
// debugger
|
||||
const chart = this.chart
|
||||
let chart_option = {}
|
||||
// type
|
||||
|
@ -25,7 +25,6 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
bus.$on('PanelSwitchComponent', (c) => {
|
||||
debugger
|
||||
console.log(c)
|
||||
this.param = c.param
|
||||
switch (c.name) {
|
||||
|
Loading…
Reference in New Issue
Block a user