单品编辑删除一个设计稿bug
This commit is contained in:
@@ -670,9 +670,8 @@ export default defineComponent({
|
||||
posiitonData.value.generateElList = posiitonData.value.generateElList.filter((item:any)=>item.userLikeSortId != value.designItemId)
|
||||
|
||||
posiitonData.value.generateElList.forEach((item:any)=>{
|
||||
if(item.sort > collItem.sort){
|
||||
item.sort-=1
|
||||
}
|
||||
if(item.sort > collItem.sort) item.sort --
|
||||
if(item.index > collItem.index) item.index --
|
||||
})
|
||||
moveItem('')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user