fix: 【配置面板】grid组件布局方式&button角标配置样式 (#7874)

* fix: 配置面板grid组件布局方式

* fix: 配置面板button角标配置样式

---------

Co-authored-by: huangying11 <huangying11@baidu.com>
This commit is contained in:
kano 2023-08-18 08:34:49 +08:00 committed by GitHub
parent 774d08de2b
commit f02c917300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -313,6 +313,7 @@ export class GridPlugin extends BasePlugin {
label: '水平对齐',
tiled: true,
pipeIn: defaultValue('left'),
inputClassName: 'flex-nowrap',
options: [
{
value: 'left',
@ -339,6 +340,7 @@ export class GridPlugin extends BasePlugin {
label: '垂直对齐',
tiled: true,
pipeIn: defaultValue('top'),
inputClassName: 'flex-nowrap',
options: [
{
value: 'top',
@ -522,6 +524,7 @@ export class GridPlugin extends BasePlugin {
label: false,
tiled: true,
clearable: true,
inputClassName: 'flex-nowrap',
options: [
{
value: 'top',

View File

@ -217,6 +217,7 @@ export default class BadgeControl extends React.Component<
mode: 'row',
tiled: true,
className: 'ae-BadgeControl-buttonGroup',
inputClassName: 'flex-nowrap',
options: [
{label: '点', value: 'dot', icon: 'fa fa-circle'},
{label: '文字', value: 'text', icon: 'fa fa-font'},
@ -237,13 +238,14 @@ export default class BadgeControl extends React.Component<
}
},
{
label: '角标主题',
label: '主题',
name: 'level',
type: 'button-group-select',
size: 'sm',
mode: 'row',
tiled: true,
className: 'ae-BadgeControl-buttonGroup',
inputClassName: 'flex-nowrap',
options: [
{label: '成功', value: 'success'},
{label: '警告', value: 'warning'},
@ -253,13 +255,14 @@ export default class BadgeControl extends React.Component<
pipeIn: defaultValue('danger')
},
{
label: '角标位置',
label: '位置',
name: 'position',
type: 'button-group-select',
size: 'sm',
mode: 'row',
tiled: true,
className: 'ae-BadgeControl-buttonGroup',
inputClassName: 'flex-nowrap',
options: [
{
label: '',