fix
This commit is contained in:
@@ -36,7 +36,11 @@ const list = ref([
|
||||
const showList = ref([])
|
||||
const chooseList = ref([])
|
||||
const chooseItem = (item:any)=>{
|
||||
chooseList.value.push(item)
|
||||
if(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId) != -1){
|
||||
chooseList.value.splice(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId),1)
|
||||
}else{
|
||||
chooseList.value.push(item)
|
||||
}
|
||||
}
|
||||
|
||||
const next = ()=>{
|
||||
|
||||
Reference in New Issue
Block a user