13
0
forked from github/dataease

Merge pull request 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
frontend/src
components/canvas
components/editor
customComponent
views/panel/filter

View File

@ -1,6 +1,7 @@
<template> <template>
<div> <div>
<el-dropdown trigger="click"> <el-dropdown
trigger="click">
<input <input
id="input" id="input"
ref="trackButton" ref="trackButton"
@ -64,6 +65,15 @@ export default {
width: 80px; 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 { .track-menu {
border: #3a8ee6 1px solid; border: #3a8ee6 1px solid;
} }

View File

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

View File

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