2023-11-29-dist
This commit is contained in:
@@ -178,28 +178,24 @@ export default defineComponent({
|
||||
let sketchList = this.store.state.UploadFilesModule.sketchboard
|
||||
let arr:any = []
|
||||
sketchList.forEach((item:any) => {
|
||||
console.log(item);
|
||||
let obj = {
|
||||
designType:item.resData.designType,
|
||||
isPin:item.pin,
|
||||
isPin:item.pin ? 1 : 0,
|
||||
level2Type:item.category,
|
||||
sketchBoardId:item.id
|
||||
sketchBoardId:item.id?item.id:item.resData.id
|
||||
}
|
||||
arr.push(obj)
|
||||
});
|
||||
let data = {sketchBoards:arr}
|
||||
this.store.commit('clearAllId')
|
||||
GO.id = 0
|
||||
this.showCollectionModal =false
|
||||
this.collectionStep = 1
|
||||
this.$emit('finishCollection')
|
||||
let elList = document.querySelectorAll('.img_block_item_sketch img')
|
||||
Https.axiosPost(Https.httpUrls.sketchBoardsBoundingBox, data)
|
||||
.then((rv: any) => {
|
||||
elList.forEach((item:any)=>{
|
||||
item.src = item.src
|
||||
})
|
||||
this.isShowMark = false
|
||||
this.store.commit('clearAllId')
|
||||
console.log(rv,data);
|
||||
|
||||
this.store.commit('setShowSketchboard',rv)
|
||||
GO.id = 0
|
||||
this.showCollectionModal =false
|
||||
this.collectionStep = 1
|
||||
|
||||
Reference in New Issue
Block a user