From fb279cb2adcc1c2918e8bf117eb1124fe4efddee Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 09 Apr 2021 17:09:36 +0800
Subject: [PATCH] 修改
---
src/views/supervisoryConsole/card.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/supervisoryConsole/card.vue b/src/views/supervisoryConsole/card.vue
index 8cf99b5..8c88e28 100644
--- a/src/views/supervisoryConsole/card.vue
+++ b/src/views/supervisoryConsole/card.vue
@@ -29,8 +29,7 @@
v-for="(item, index) in option"
:key="index"
>
- <!-- @click.stop="goToDetails(item.deviceNumber)" -->
- <a :href="'/#/dataL/index?deviceNumber=' + item.deviceNumber">
+ <a href="javascript:void(0);" @click.stop="goToDetails(item)">
<el-card
:style="
item.state == ''
@@ -143,7 +142,7 @@
console.log(this.radio, value);
},
goToDetails(data) {
- this.$router.push({ path: "/dataL ", query: data });
+ this.$router.push({ path: "/dataL/dataL", query: data });
},
},
};
--
Gitblit v1.9.3