From 7ea965d6203786fd7fd4e6dd38230586c427885f Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期一, 25 九月 2023 23:48:42 +0800
Subject: [PATCH] 企业端
---
h5/pages/index/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/h5/pages/index/index.vue b/h5/pages/index/index.vue
index c87983b..4ac7cd0 100644
--- a/h5/pages/index/index.vue
+++ b/h5/pages/index/index.vue
@@ -707,12 +707,10 @@
})
}
})
- // console.log(this.imgList)
+ if (this.imgList.length === 0) return
this.$viewerApi({
images: this.imgList,
})
- // this.$refs.bigImg.open(0)
- // this.$refs.bigImg1.open(0)
},
empty() {
this.shopList = []
@@ -842,6 +840,7 @@
this.shopList[index].zdPrice = ''
this.shopList[index].price = ''
this.shopList[index].xhData = []
+ this.shopList[index].multifileList = []
this.shopList[index].ppShow = false
this.$forceUpdate()
},
@@ -935,12 +934,15 @@
},
copyItem(item) {
let obj = JSON.parse(JSON.stringify(item))
+ obj.multifileList = []
+ obj.xhData = []
obj.brandId = ''
obj.brand = ''
obj.brandName = ''
obj.name = ''
obj.zdPrice = ''
obj.price = ''
+ console.log(obj)
this.shopList.push(obj)
},
deleItem(i) {
--
Gitblit v1.9.3