From ea61561bce534f9aa37b2f09c103c10fcebb0f53 Mon Sep 17 00:00:00 2001 From: hugh Date: Fri, 2 Apr 2021 11:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/com/tptj/demo/hg/connection/js/main.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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