| | |
| | | }) |
| | | } |
| | | }) |
| | | // 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 = [] |
| | |
| | | this.shopList[index].zdPrice = '' |
| | | this.shopList[index].price = '' |
| | | this.shopList[index].xhData = [] |
| | | this.shopList[index].multifileList = [] |
| | | this.shopList[index].ppShow = false |
| | | this.$forceUpdate() |
| | | }, |
| | |
| | | }, |
| | | 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) { |