bug 修改

This commit is contained in:
duanliang
2025-05-30 23:54:56 +08:00
parent 2134b44689
commit 924b9c8966
4 changed files with 18 additions and 12 deletions

View File

@@ -412,9 +412,9 @@
const handleCollectAdd = async (id, status, index) => {
await getColletDiyApi({
cameraIndexCode:id,
isDiy: status == 0 ? 1 : 0
isDiy: thisVideo.value.isDiy == 0 ? 1 : 0
})
if(status==1){
if(thisVideo.value.isDiy==1){
thisVideo.value.isDiy=0
// videoList.value.forEach((item,index)=>{
// if(item.cameraIndexCode==thisVideo.value.cameraIndexCode){