You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
574 B
26 lines
574 B
6 years ago
|
import {WidgetType, Left, Label, Button} from '@ui/index';
|
||
|
const className = 'fr.component.right.title';
|
||
|
const Widget: WidgetType = {
|
||
|
render() {
|
||
|
return {
|
||
|
type: Left,
|
||
|
height: 40,
|
||
|
cls: 'right-title',
|
||
|
items: [
|
||
|
{
|
||
|
type: Label,
|
||
|
cls: 'right-title-text',
|
||
|
text: '数据连接(APACHE KYLIN)',
|
||
|
},
|
||
|
{
|
||
|
type: Button,
|
||
|
cls:'right-title-button',
|
||
|
text: '编辑',
|
||
|
},
|
||
|
],
|
||
|
};
|
||
|
},
|
||
|
};
|
||
|
BI.shortcut(className, BI.inherit(BI.Widget, Widget));
|
||
|
export default className;
|