From 98a6297b10a4b97c3022f84d3ba7908c178d9ee0 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期二, 20 十月 2020 10:30:10 +0800 Subject: [PATCH] 应用中心安装提示bug修复 --- src/components/cardWindow.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/cardWindow.vue b/src/components/cardWindow.vue index d862113..55f810d 100644 --- a/src/components/cardWindow.vue +++ b/src/components/cardWindow.vue @@ -5,10 +5,8 @@ v-for="(item, index) in CardList.details" :closeButton="true" @closebuttonclick="closeWindow(index)" - @update:height="resizeHeight" - @update:width="resizeWidth" :key="index" - style="background:white; height:475px" + style="background:white; " :left="center.x + index * 10" :top="center.y + index * 10" :resizable="true" @@ -20,6 +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> @@ -49,6 +48,7 @@ </div> </template> <script> +import bus from '@/plugin/bus' import ModelCard from '@/components/subComponents/ModelCard' export default { name: 'cardWindow', @@ -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