Skip to content

Commit d902cf9

Browse files
committed
fix: fastQuery
1 parent f331e78 commit d902cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/snapshot/SearchCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const generateRules = errorTry(async (result: SelectorSearchResult) => {
158158
const exampleUrls = imageId ? getImagUrl(imageId) : undefined;
159159
160160
const s = result.selector;
161-
const t = result.nodes[0];
161+
const t = result.results.map((v) => v.context.toArray().at(-1)!)[0];
162162
163163
const fastQuery = [
164164
(t.quickFind ?? t.idQf) &&

0 commit comments

Comments
 (0)