This commit is contained in:
zhangsir
2023-10-12 17:03:18 +08:00

View File

@@ -384,19 +384,7 @@ export default defineComponent({
// console.log(value,'新值'); // console.log(value,'新值');
// }) // })
}; };
const aa = computed(()=>{
return ()=>{
return state.recommendStatu
}
})
watch(() => state.recommendStatu,(value) => { watch(() => state.recommendStatu,(value) => {
const removeData = state.tableData1
const removeClick = removeData.filter(function(value,index){
return value.recommendStatus==1
})
console.log('removeClick的长度111111111111',removeClick.length)
state.recommendStatu = removeClick.length
getTableDate()
console.log(value,'新值'); console.log(value,'新值');
}) })
getTableDate(); getTableDate();