diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/MiscSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/MiscSelector.vue index f2f10d118c..87e96ce028 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/MiscSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/MiscSelector.vue @@ -225,7 +225,7 @@ const getQuotaField = id => { } const isValidField = field => { - return field.id !== 'count' && field.deType !== 0 && field.deType !== 1 && field.deType !== 5 + return field.id !== '-1' && state.quotaData.findIndex(ele => ele.id === field.id) !== -1 } const showProperty = prop => props.propertyInner?.includes(prop) @@ -310,27 +310,25 @@ onMounted(() => { - - - - - - - {{ item.name }} - + + + + {{ item.name }} @@ -339,8 +337,8 @@ onMounted(() => { @@ -403,27 +401,25 @@ onMounted(() => { - - - - - - - {{ item.name }} - + + + + {{ item.name }} @@ -547,8 +543,9 @@ onMounted(() => { { flex-direction: row; justify-content: space-between; } + :deep(.dynamic-item) { width: 100px !important; } } + .field-item { float: left; color: #8492a6; font-size: 12px; } + .margin-bottom-8 { margin-bottom: 8px !important; } + .series-select-option { display: flex; align-items: center; justify-content: start; padding: 0 11px; } + +.invalid-field { + ::v-deep(.ed-input__wrapper) { + box-shadow: 0 0 0 1px rgb(245, 74, 69) inset !important; + } +}