Browse Source
* commit 'b435fcf8e0a4fe568680ddf785af12f8671acf99': fix: DEC-10944 修复修改工程servlet后,图片无法显示的问题 fix: 修改插件接口,使用providew fix: DEC-10883 修改其他JDBC的类型为otherJDBC以区别旧版 fix: DEC-10872 修复兼容旧版数据连接时产生的bugresearch/11.0
alan
5 years ago
10 changed files with 38 additions and 27 deletions
@ -0,0 +1,2 @@ |
|||||||
|
export const CONSTANT_PLUGIN_TYPES = 'dec.constant.database.conf.connect.types'; |
||||||
|
BI.constant(CONSTANT_PLUGIN_TYPES, []); |
@ -0,0 +1,9 @@ |
|||||||
|
import { CONSTANT_PLUGIN_TYPES } from './app.constant'; |
||||||
|
|
||||||
|
BI.provider('dec.connection.provider.datebase', function() { |
||||||
|
this.registerDatabaseType = (config: any) => { |
||||||
|
BI.config(CONSTANT_PLUGIN_TYPES, connections => BI.concat(connections, config)); |
||||||
|
}; |
||||||
|
this.$get = () => BI.inherit(BI.OB, { |
||||||
|
}); |
||||||
|
}); |
@ -1,3 +0,0 @@ |
|||||||
export const CONSTANT_PLUGIN_TYPES = 'dec.constant.database.conf.connect.types'; |
|
||||||
export const CONSTANT_PLUGIN_SHOW = 'dec.constant.database.conf.connect.form.${databaseType}.show'; |
|
||||||
export const CONSTANT_PLUGIN_EDIT = 'dec.constant.database.conf.connect.form.${databaseType}.edit'; |
|
Loading…
Reference in new issue