alan
6 years ago
7 changed files with 86 additions and 25 deletions
@ -0,0 +1,20 @@
|
||||
import {Left, WidgetType, Label} from '@ui/index'; |
||||
const className = 'fr.plugin.text'; |
||||
const Widget: WidgetType = { |
||||
render() { |
||||
return { |
||||
type: Left, |
||||
cls: 'title', |
||||
items: [{ |
||||
type: Label, |
||||
text:'123', |
||||
}], |
||||
}; |
||||
}, |
||||
}; |
||||
BI.shortcut(className, BI.inherit(BI.Widget, Widget)); |
||||
|
||||
export default className; |
||||
|
||||
BI.constant('bi.constant.database.conf.connect.form.redis.edit', className); |
||||
BI.constant('bi.constant.database.conf.connect.form.redis.show', className); |
@ -1,5 +1,6 @@
|
||||
export const ConstantName = 'bi.constant.database.conf.connect.list'; |
||||
export const Constant = BI.constant(ConstantName, [ |
||||
BI.constant(ConstantName, [ |
||||
'APACHE KYLIN', 'DERBY', 'HP Vertica', 'IBM DB2', 'INFORMIX', 'Microsoft SQL Server', 'MySQL', 'Oracle', 'Privotal Greenplum Database', 'Postgresql', 'GaussDB 200', |
||||
]); |
||||
BI.config(ConstantName, (datas: string[]) => [...datas, 'Redis']); |
||||
export default ConstantName; |
||||
|
Loading…
Reference in new issue