From 44e258acff991838ad7f10276556b596b6b0b25b Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 05 Jul 2018 16:03:34 +0800
Subject: [PATCH] Merge branch 'develop' of http://blit.7drlb.com:8888/r/screen-frontend into develop

---
 src/app/routes/devices/basic-info/device-edit/device-edit.component.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/routes/devices/basic-info/device-edit/device-edit.component.ts b/src/app/routes/devices/basic-info/device-edit/device-edit.component.ts
index 26d687b..fe4d7da 100644
--- a/src/app/routes/devices/basic-info/device-edit/device-edit.component.ts
+++ b/src/app/routes/devices/basic-info/device-edit/device-edit.component.ts
@@ -115,7 +115,7 @@
      this.subject.destroy();
    }
    save($event, value, valid) {
-    $event.preventDefault();
+    const _prevent =  !!$event ? $event.preventDefault() : null ;
     if (valid) {
       this.isSaving = true;
       this.data = value;

--
Gitblit v1.8.0