Browse Source

调整冗余

10.0
hugh 4 years ago
parent
commit
ea61561bce
  1. 6
      src/main/resources/com/tptj/demo/hg/connection/js/main.js

6
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,
});
});
})();
Loading…
Cancel
Save