From c99cad106ef5be9f818e45d385dfdcec29ce19e5 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 03 十二月 2020 16:52:24 +0800 Subject: [PATCH] 修复绘制多边形撤销错误的bug --- src/components/searching/UploadImg.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/components/searching/UploadImg.vue b/src/components/searching/UploadImg.vue index 35dcc8f..04ce4a3 100644 --- a/src/components/searching/UploadImg.vue +++ b/src/components/searching/UploadImg.vue @@ -6,7 +6,7 @@ <i class="iconfont iconchushaixuanxiang close" style="margin-left:200px;cursor:pointer;color:#ccc" - @click="VideoPhotoData.uploadDiaplay = false" + @click="closeUploadImg" ></i> </h2> <p class="compearValue"> @@ -171,6 +171,10 @@ }) }, methods: { + closeUploadImg() { + console.log(location.href) + this.VideoPhotoData.uploadDiaplay = false + }, selectChange() { if (!this.compareTabs.includes("esData") && this.compareTabs.length > 0) { for (let i = 0; i < this.VideoPhotoData.tabsForUploadImg.length; i++) { @@ -307,6 +311,9 @@ height: 100%; box-sizing: border-box; padding: 5px; + .el-button--info{ + color: #222; + } .upload-area { width: 300px; height: 100%; @@ -352,7 +359,10 @@ padding: 5px; box-sizing: border-box; position: relative; + display: inline-block; + vertical-align: middle; img { + width: 100%; object-fit: contain; cursor: pointer; border-radius: 3px; -- Gitblit v1.8.0