From 2c06bbae126f5faf4afe76a0e3eac64b31277580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Sat, 9 Nov 2024 13:45:01 +0800 Subject: [PATCH] feat: use fastQuery (#37) close #37 --- src/views/snapshot/SearchCard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/snapshot/SearchCard.vue b/src/views/snapshot/SearchCard.vue index 98d9297..330be49 100644 --- a/src/views/snapshot/SearchCard.vue +++ b/src/views/snapshot/SearchCard.vue @@ -162,7 +162,7 @@ const generateRules = errorTry( const s = result.selector; const t = result.nodes[0].at(-1)!; - const quickFind = [ + const fastQuery = [ (t.quickFind ?? t.idQf) && t.attr.id && s.qfIdValue, (t.quickFind ?? t.idQf) && t.attr.vid && s.qfVidValue, (t.quickFind ?? t.textQf) && t.attr.text && s.qfTextValue, @@ -177,7 +177,7 @@ const generateRules = errorTry( desc: `[ChangeMe]本规则由GKD网页端审查工具生成`, rules: [ { - quickFind: quickFind || undefined, + fastQuery: fastQuery || undefined, activityIds: snapshot.value.activityId, matches: s.toString(), exampleUrls: getImagUrl(imageId),