diff --git a/src/main/resources/com/tptj/demo/hg/connection/js/main.js b/src/main/resources/com/tptj/demo/hg/connection/js/main.js index 6b45ccd..4455ab3 100644 --- a/src/main/resources/com/tptj/demo/hg/connection/js/main.js +++ b/src/main/resources/com/tptj/demo/hg/connection/js/main.js @@ -80,7 +80,6 @@ } }); BI.shortcut(DemoEditName, DemoEdit); - BI.constant('dec.constant.database.conf.connect.form.demo.edit', DemoEditName); //显示配置 var DemoShowName = 'dec.dcm.connection.plugin.demo.show'; @@ -119,15 +118,14 @@ }); BI.shortcut(DemoShowName, DemoShow); - BI.constant('dec.constant.database.conf.connect.form.demo.show', DemoShowName); //注册 BI.config('dec.connection.provider.datebase', function(provider){ provider.registerDatabaseType({ text: 'Demo Conn', databaseType: 'demo_con', iconUrl: 'com/tptj/demo/hg/connection/images/demo.jpg', - edit: 'dec.dcm.connection.plugin.demo.edit', - show: 'dec.dcm.connection.plugin.demo.show', + edit: DemoEditName, + show: DemoShowName, }); }); })(); \ No newline at end of file