2023-11-29-dist

This commit is contained in:
X1627315083
2023-11-29 09:56:48 +08:00
parent 38ee708a85
commit 22df874f78
31 changed files with 102 additions and 91 deletions

View File

@@ -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