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,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) => {
|
||||
|
|
Loading…
Reference in New Issue