style(过滤器): 数字区间过滤器样式优化

This commit is contained in:
fit2cloud-chenyw 2022-11-02 12:14:11 +08:00
parent 14ca3e0989
commit 585bb76b0a
3 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

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