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/SearchLeft.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/searching/SearchLeft.vue b/src/components/searching/SearchLeft.vue index c04226f..060eaed 100644 --- a/src/components/searching/SearchLeft.vue +++ b/src/components/searching/SearchLeft.vue @@ -140,8 +140,8 @@ data() { return { tempUploadImg: "", - tempImg: require("../../assets/nobody.png"), - selectedIcon: require("../../assets/duihao.png"), + tempImg: "/images/search/nobody.png", + selectedIcon: "/images/search/duihao.png", bigPhoto: [], displayUpload: true, clickNum: 0, @@ -211,7 +211,6 @@ if (res.data.smImage.length % 3 !== 0) { // 鐢ㄨ櫄鎷熶汉鍍忚ˉ鍏ㄦ暣琛� const length = res.data.smImage.length % 3 - console.log("鐪嬬湅length鐨勫��", length) this.unrealSmallPath.length = 0 for (var i = 0; i < 3 - length; i++) { this.unrealSmallPath.push(this.tempImg) @@ -335,6 +334,8 @@ padding: 5px; box-sizing: border-box; position: relative; + // display: inline-block; + // vertical-align: middle; img { width: 100%; cursor: pointer; -- Gitblit v1.8.0