BUG 修改 我的发布无法跳转 申购车 过滤已经下架的能力
This commit is contained in:
parent
837641ba79
commit
73ef6f5bdc
|
@ -484,7 +484,7 @@
|
|||
del()
|
||||
})
|
||||
onBeforeUnmount(() => {
|
||||
mybus.off('tabsChange')
|
||||
mybus.off('Cancellation')
|
||||
mybus.off('Determine')
|
||||
})
|
||||
const reason = ref('')
|
||||
|
|
|
@ -821,9 +821,15 @@
|
|||
} else {
|
||||
let arr = []
|
||||
list.value.map((val) => {
|
||||
val.arr = val.children.filter(
|
||||
(item) => checkedListAbility.value.indexOf(item.id) > -1
|
||||
)
|
||||
val.arr = val.children.filter((item) => {
|
||||
console.log('选择的数据=============>', item)
|
||||
if (
|
||||
checkedListAbility.value.indexOf(item.id) > -1 &&
|
||||
item.delFlag != 0
|
||||
) {
|
||||
return item
|
||||
}
|
||||
})
|
||||
})
|
||||
arr = list.value.filter((val) => val.arr.length !== 0)
|
||||
console.log('一键申请===================>', arr)
|
||||
|
|
Loading…
Reference in New Issue