Merge pull request #3603 from dataease/pr@dev@style_number_range_filter

style(过滤器): 数字区间过滤器样式优化
This commit is contained in:
xuwei-fit2cloud 2022-11-02 13:33:35 +08:00 committed by GitHub
commit 7ebc1ea468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,7 @@
<span>{{ $t('denumberrange.split_placeholder') }}</span>
<el-form-item
prop="max"
style="padding-right: 0px;width: calc(50% - 6px) !important;"
style="padding-right: 0px;width: calc(50% - 4px) !important;"
>
<el-input
ref="de-number-range-max"

View File

@ -24,8 +24,7 @@ const dialogPanel = {
const drawPanel = {
type: 'custom',
style: {
width: 500,
// height: 45.5,
width: 300,
height: 90,
fontSize: 14,
fontWeight: 500,

View File

@ -239,7 +239,7 @@ export default {
watch: {
'childViews.datasetParams': {
handler(newName, oldName) {
if (this.attrs.parameters.length > 0 && this.attrs.parameters[0].indexOf('|DE|') === -1) {
if (this.attrs.parameters?.length && this.attrs.parameters[0].indexOf('|DE|') === -1) {
const parameters = []
for (var i = 0; i < this.attrs.parameters.length; i++) {
if (this.attrs.parameters[i].indexOf('|DE|') === -1) {