预检测描述
This commit is contained in:
@@ -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()) ||
|
||||
|
||||
Reference in New Issue
Block a user