预检测描述

This commit is contained in:
sjl
2025-08-13 15:52:48 +08:00
parent 1ec8cce63e
commit 0025895696
2 changed files with 5 additions and 8 deletions

View File

@@ -190,7 +190,7 @@
:titles="['未绑定被检设备', '已绑定被检设备']"
>
<template #default="{ option }">
<div style="display: flex; align-items: center; justify-content: space-between">
<div style="display: flex; align-items: center; justify-content:space-between">
<span>
{{ JSON.parse(option.label).manufacturer }} - {{ JSON.parse(option.label).name }}
</span>
@@ -364,6 +364,7 @@ const generateData = () => {
const filterMethod = (query: string, item: { label?: string }) => {
const dataJSON = item.label ? JSON.parse(item.label) : {}
return (
(dataJSON.name?.toLowerCase().includes(query.toLowerCase()) ||
dataJSON.manufacturer?.toLowerCase().includes(query.toLowerCase()) ||