Merge pull request #3603 from dataease/pr@dev@style_number_range_filter
style(过滤器): 数字区间过滤器样式优化
This commit is contained in:
commit
7ebc1ea468
@ -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"
|
||||
|
||||
@ -24,8 +24,7 @@ const dialogPanel = {
|
||||
const drawPanel = {
|
||||
type: 'custom',
|
||||
style: {
|
||||
width: 500,
|
||||
// height: 45.5,
|
||||
width: 300,
|
||||
height: 90,
|
||||
fontSize: 14,
|
||||
fontWeight: 500,
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user