Merge pull request #5202 from dataease/pr@dev_st_fix

Pr@dev st fix
This commit is contained in:
dataeaseShu 2023-05-12 16:15:26 +08:00 committed by GitHub
commit 6725e57330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<template>
<div>
<el-dropdown trigger="click">
<el-dropdown
trigger="click">
<input
id="input"
ref="trackButton"
@ -64,6 +65,15 @@ export default {
width: 80px;
}
::v-deep.el-popper[x-placement^=bottom] .popper__arrow {
transform: rotate(180deg) !important;
top: 75px !important;
}
::v-deep.el-popper[x-placement^=bottom] {
margin-top: -80px !important;
}
.track-menu {
border: #3a8ee6 1px solid;
}

View File

@ -710,7 +710,7 @@ export default {
clearPanelLinkage(param) {
if (param.viewId === 'all' || param.viewId === this.element.propValue.viewId) {
try {
this.$refs[this.element.propValue.id].reDrawView()
this.$refs[this.element.propValue.id]?.reDrawView()
} catch (e) {
console.error('reDrawView-error', this.element.propValue.id)
}

View File

@ -755,7 +755,7 @@ export default {
type = 'NUM'
}
datasetParams(tableId, type).then(res => {
this.datasetParams = res.data
this.datasetParams = res.data || []
})
},
comLoadField(tableId) {