Merge pull request #3502 from dataease/pr@dev@fix_console-problem

fix: 处理控制台报错
This commit is contained in:
王嘉豪 2022-10-27 18:31:12 +08:00 committed by GitHub
commit 9ceb017d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 15 deletions

View File

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

View File

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

View File

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

View File

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