fix: 处理控制台报错

This commit is contained in:
wangjiahao 2022-10-27 18:29:56 +08:00
parent 6f3dd126f5
commit 0d67927756
4 changed files with 7 additions and 15 deletions

View File

@ -10,6 +10,7 @@
:source-element="sourceConfig"
:terminal="terminal"
:element="config"
:canvas-id="canvasId"
:show-position="showPosition"
@showViewDetails="showViewDetails"
/>

View File

@ -27,6 +27,7 @@
<ComponentWrapper
v-for="(item, index) in componentDataInfo"
:key="index"
:canvas-id="canvasId"
:config="item"
:search-count="searchCount"
:canvas-style-data="canvasStyleData"
@ -55,6 +56,10 @@ export default {
event: 'change'
},
props: {
canvasId: {
type: String,
required: true
},
screenShot: {
type: Boolean,
default: false

View File

@ -32,7 +32,7 @@
</el-col>
<el-col
v-show="panel.backgroundType==='image'"
span="10"
:span="10"
>
<el-upload
action=""

View File

@ -29,20 +29,6 @@
<script>
export default {
name: 'PanelDetailInfo',
props: {
type: {
type: String,
required: true
},
data: {
type: Object,
required: true
},
tabStatus: {
type: Boolean,
required: true
}
},
data() {
return {
tabActive: 'chart',