forked from fanruan/demo-tabledata-redis
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.
17 lines
637 B
17 lines
637 B
5 years ago
|
import { RedisShow } from './modules/app.show';
|
||
|
import { RedisEdit } from './modules/app.edit';
|
||
|
|
||
|
const ConstantRedisType = 'dec.constant.database.conf.connect.types';
|
||
|
const ConstantRedisShow = 'dec.constant.database.conf.connect.form.Redis.show';
|
||
|
const ConstantRedisEdit = 'dec.constant.database.conf.connect.form.Redis.edit';
|
||
|
|
||
|
BI.DOM.ready(() => {
|
||
|
BI.config(ConstantRedisType, datas => [...datas, {
|
||
|
text: 'Redis',
|
||
|
databaseType: 'Redis',
|
||
|
iconUrl: 'com/fr/plugin/db/redis/images/redis.png',
|
||
|
}]);
|
||
|
BI.constant(ConstantRedisShow, RedisShow.xtype);
|
||
|
BI.constant(ConstantRedisEdit, RedisEdit.xtype);
|
||
|
});
|