From 1c5f972e7410a375c67a8b69c43fa170c0e78ef4 Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Mon, 21 Sep 2020 10:26:34 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4iscs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/iscs/iscsDesign/demonList.vue | 15 ++++++---------
src/views/iscsSystem/index.vue | 5 +++++
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/src/views/iscs/iscsDesign/demonList.vue b/src/views/iscs/iscsDesign/demonList.vue
index 315ce56bb..0c87271e0 100644
--- a/src/views/iscs/iscsDesign/demonList.vue
+++ b/src/views/iscs/iscsDesign/demonList.vue
@@ -2,8 +2,11 @@
iscs系统列表
-
- 线路:
+
+
-
-
-
@@ -27,7 +25,7 @@
- {{ $t('map.newConstruction') }}
+
@@ -622,7 +620,6 @@ export default {
width:100%;
display: flex;
justify-content: space-between;
- font-size: 14px;
}
.text_item{
height: 100%;
diff --git a/src/views/iscsSystem/index.vue b/src/views/iscsSystem/index.vue
index b1eb229af..38f89e779 100644
--- a/src/views/iscsSystem/index.vue
+++ b/src/views/iscsSystem/index.vue
@@ -137,6 +137,11 @@ export default {
const parserData = parser(data, {width: this.canvasWidth, height: this.canvasHeight});
this.setIscs(parserData, data);
this.$store.dispatch('iscs/setIscsData', data);
+ } else {
+ const data = {};
+ const parserData = parser(data, {width: this.canvasWidth, height: this.canvasHeight});
+ this.setIscs(parserData, data);
+ this.$store.dispatch('iscs/setIscsData', data);
}
});
this.$iscs.on('contextmenu', this.onContextMenu, this);