This commit is contained in:
duanxiaohai 2024-08-14 09:05:13 +08:00
commit d8770a92cb
1 changed files with 4 additions and 11 deletions

View File

@ -1637,16 +1637,6 @@ const changeRs2 = (id) => {
// }
};
//----------------------
//
const removeCharFromArray = (arr, charToRemove) => {
//
if (arr.includes(charToRemove)) {
return arr.filter((ch) => ch !== charToRemove);
} else {
arr.push(charToRemove);
return arr;
}
};
const changeys = (name) => {
if (yaosuList.value.includes(name)) {
yaosuList.value = yaosuList.value.filter((ch) => ch !== name);
@ -1663,8 +1653,11 @@ const changeys = (name) => {
img = item.img;
}
});
if(name=='摄像头'){
getZyys(url, name,img);
}
}
};
const getZyys = (url, name, img) => {
http.get(url).then((res) => {