amis-saas-7377 「commbo提示」存在删除、可拖拽的tooltip提示被遮盖 &导致出现横向滚动条

Change-Id: I8698621b4e87b3de34eb3269ae1f8d7990fce3fb
This commit is contained in:
jiatianqi 2022-09-30 11:56:38 +08:00
parent 563736b2c7
commit 65d800b43c
5 changed files with 24 additions and 29 deletions

View File

@ -557,7 +557,7 @@ export class CRUDPlugin extends BasePlugin {
visibleOn: 'data.api && data.api.url'
},
{
getSchemaTpl('combo-container', {
label: '批量操作',
name: 'bulkActions',
type: 'combo',
@ -599,7 +599,7 @@ export class CRUDPlugin extends BasePlugin {
)
}
]
},
}),
// getSchemaTpl('switch', {
// name: 'defaultChecked',
@ -612,7 +612,7 @@ export class CRUDPlugin extends BasePlugin {
type: 'divider'
},
{
getSchemaTpl('combo-container', {
label: '单条操作',
name: 'itemActions',
type: 'combo',
@ -660,7 +660,7 @@ export class CRUDPlugin extends BasePlugin {
)
}
]
},
}),
{
type: 'divider',
@ -681,7 +681,7 @@ export class CRUDPlugin extends BasePlugin {
}
}),
{
getSchemaTpl('combo-container', {
label: '默认参数',
type: 'input-kv',
name: 'defaultParams',
@ -692,7 +692,7 @@ export class CRUDPlugin extends BasePlugin {
content: '可以用来设置默认参数,比如 <code>perPage:20</code>',
placement: 'left'
}
},
}),
{
type: 'divider'
@ -1092,7 +1092,7 @@ export class CRUDPlugin extends BasePlugin {
]
},
{
getSchemaTpl('combo-container', {
name: 'headerToolbar',
type: 'combo',
draggable: true,
@ -1266,9 +1266,9 @@ export class CRUDPlugin extends BasePlugin {
// className: 'm-l-none'
// }
]
},
}),
{
getSchemaTpl('combo-container', {
name: 'footerToolbar',
type: 'combo',
draggable: true,
@ -1444,7 +1444,7 @@ export class CRUDPlugin extends BasePlugin {
className: 'm-l-none'
}
]
},
}),
getSchemaTpl('switch', {
name: 'filterTogglable',

View File

@ -10,10 +10,7 @@ import {
} from 'amis-editor-core';
import {ValidatorTag} from '../../validator';
import {getEventControlConfig} from '../../renderer/event-control/helper';
import {
RendererPluginAction,
RendererPluginEvent
} from 'amis-editor-core';
import {RendererPluginAction, RendererPluginEvent} from 'amis-editor-core';
export class MatrixControlPlugin extends BasePlugin {
// 关联渲染器名字
@ -159,8 +156,9 @@ export class MatrixControlPlugin extends BasePlugin {
title: '选项',
body: [
[
{
getSchemaTpl('combo-container', {
label: '列配置',
mode: 'normal',
name: 'columns',
type: 'combo',
multiple: true,
@ -175,16 +173,17 @@ export class MatrixControlPlugin extends BasePlugin {
placeholder: '列说明'
}
]
},
}),
{
name: 'rowLabel',
label: '行标题文字',
type: 'input-text'
},
{
getSchemaTpl('combo-container', {
label: '行配置',
name: 'rows',
type: 'combo',
mode: 'normal',
multiple: true,
scaffold: {
label: '行说明'
@ -197,16 +196,12 @@ export class MatrixControlPlugin extends BasePlugin {
placeholder: '行说明'
}
]
}
})
],
getSchemaTpl('apiControl', {
label: tipedLabel('接口', '获取矩阵数据接口'),
name: 'source',
mode: 'horizontal',
horizontal: {
left: 4,
justify: true
}
mode: 'normal'
})
// getSchemaTpl('value')
]

View File

@ -165,7 +165,7 @@ export class HBoxPlugin extends BasePlugin {
]
},
{
getSchemaTpl('combo-container', {
name: 'columns',
label: '列集合',
type: 'combo',
@ -188,7 +188,7 @@ export class HBoxPlugin extends BasePlugin {
label: ''
})
]
},
}),
getSchemaTpl('fieldSet', {
title: '水平对齐',
collapsable: false,

View File

@ -216,7 +216,7 @@ export class ProgressPlugin extends BasePlugin {
form.setValueByName('stripe', value === 'stripe');
}
},
{
getSchemaTpl('combo-container', {
name: 'map',
type: 'combo',
mode: 'normal',
@ -252,7 +252,7 @@ export class ProgressPlugin extends BasePlugin {
pipeIn: (value: any) => {
return Array.isArray(value) ? value : [];
}
}
})
]
},
getSchemaTpl('style:classNames', {

View File

@ -45,7 +45,7 @@ export class StepsPlugin extends BasePlugin {
{
title: '常规',
body: [
{
getSchemaTpl('combo-container', {
name: 'steps',
label: '步骤列表',
type: 'combo',
@ -76,7 +76,7 @@ export class StepsPlugin extends BasePlugin {
placeholder: '描述'
}
]
},
}),
{
name: 'value',
type: 'input-text',