From 7e0c6fa4bf15a40bf1c824ad0e2f7ced6438c766 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期五, 09 十月 2020 09:41:49 +0800
Subject: [PATCH] cardWindow组件切换分页保留历史宽高

---
 src/components/cardWindow.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/components/cardWindow.vue b/src/components/cardWindow.vue
index a9c557e..55f810d 100644
--- a/src/components/cardWindow.vue
+++ b/src/components/cardWindow.vue
@@ -6,7 +6,7 @@
         :closeButton="true"
         @closebuttonclick="closeWindow(index)"
         :key="index"
-        style="background:white; height:475px"
+        style="background:white; "
         :left="center.x + index * 10"
         :top="center.y + index * 10"
         :resizable="true"
@@ -18,7 +18,7 @@
         :maxHeight="7000"
         :height="defaultHeight"
         :width="defaultWidth"
-        
+        ref="hscw"
       >
         <div v-if="item.list.length == 1" style="height: calc(100% - 50px)">
           <model-card :data="item.list[0]"></model-card>
@@ -107,6 +107,8 @@
       }
     },
     async nextPage(dataInfo, index) {
+      console.log(this)
+      debugger
       let id = dataInfo[0].id
       let res = this.CardList.getBehindEle(id)
       if (res) {
@@ -157,6 +159,7 @@
       // driver.execute_script("arguments[0].scrollIntoView();", target)
     },
     async upPage(dataInfo, index) {
+      console.log('涓婁竴椤�')
       let id = dataInfo[0].id
       let res = this.CardList.getFrontEle(id)
       if (res) {

--
Gitblit v1.8.0