提交 1bd1bc0c authored 作者: 汪雄's avatar 汪雄

fix:卫星列表筛选没用的情况

上级 0e7ce018
......@@ -402,7 +402,7 @@ const searchSateValue = ref('')
function searchSatelliteList() {
const filteredData = primitiveSatelliteData.value.filter(item =>
item.name.toLowerCase().includes(searchSateValue.value.toLowerCase()) ||
item.station.toLowerCase().includes(searchSateValue.value.toLowerCase()) ||
item.station.includes(searchSateValue.value.toLowerCase()) || //当前连接数据为 - 时不能用toLowerCase这个方法
item.manufacturer.toLowerCase().includes(searchSateValue.value.toLowerCase()) ||
item.status.toLowerCase().includes(searchSateValue.value.toLowerCase())
);
......@@ -411,14 +411,6 @@ function searchSatelliteList() {
// 地面设备数据
const primitiveEquipmentData = ref([
// { station: '上海站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 2 },
// { station: '南宁站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 1 },
// { station: '新疆站', ku: 12, qv: 5, monitor: 1, baseband: 2, core: 2 },
// { station: '辽宁站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 2 },
// { station: '上海站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 2 },
// { station: '南宁站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 1 },
// { station: '新疆站', ku: 12, qv: 5, monitor: 1, baseband: 2, core: 2 },
// { station: '辽宁站', ku: 12, qv: 5, monitor: 2, baseband: 2, core: 2 },
])
const equipmentData = ref(primitiveEquipmentData.value);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论