summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorminfanyang <yang.minfan@zte.com.cn>2018-08-27 17:56:37 +0800
committerminfanyang <yang.minfan@zte.com.cn>2018-08-27 17:56:37 +0800
commit436366435bf9ade9f8596dac346db77c0098d4e0 (patch)
treec0480b7b040e7470b4048830119bc19dfb2d4f88
parent66f6f24d89479acb0545847e48ef62dcc860d1e2 (diff)
Added jquery resource
Change-Id: I28bc5cce49c7373991cc37d87f821301996dd526 Issue-ID: HOLMES-163 Signed-off-by: minfanyang <yang.minfan@zte.com.cn>
-rw-r--r--rulemgt-frontend/.angular-cli.json1
-rw-r--r--rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/rulemgt-frontend/.angular-cli.json b/rulemgt-frontend/.angular-cli.json
index 5da3c0f..e18a89f 100644
--- a/rulemgt-frontend/.angular-cli.json
+++ b/rulemgt-frontend/.angular-cli.json
@@ -27,6 +27,7 @@
"assets/framework/browser/thirdparty/css/magic-check.css"
],
"scripts": [
+ "../node_modules/jquery/dist/jquery.js",
"assets/common/js/jQuery-File-Upload/js/jquery.ui.widget.js",
"assets/common/js/jQuery-File-Upload/js/vendor/jquery.ui.widget.js",
"assets/common/js/jQuery-File-Upload/js/jquery.iframe-transport.js",
diff --git a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
index fa69e3c..a8a4c07 100644
--- a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
+++ b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
@@ -20,8 +20,6 @@ import {RuleRequest} from './ruleRequest';
import {Router} from '@angular/router';
import {AlarmRuleService} from './alarmRule.service';
-declare var jQuery: any;
-
@Component({
selector: 'alarmRule',
templateUrl: './alarmRule.component.html',