Merge branch 'main' of https://git.cityme.com.cn/xiangshan/ggfwjsc
This commit is contained in:
commit
d8770a92cb
|
@ -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,7 +1653,10 @@ const changeys = (name) => {
|
|||
img = item.img;
|
||||
}
|
||||
});
|
||||
getZyys(url, name, img);
|
||||
if(name=='摄像头'){
|
||||
getZyys(url, name,img);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
const getZyys = (url, name, img) => {
|
||||
|
|
Loading…
Reference in New Issue