step8 fix: wildcard gate data-expect-any="1" (end-a) + deep search index path ../../data/ (query.html) + forbidden-table path derived from data-index (components.js); both browser-verified, NOTE empty

This commit is contained in:
2026-09-30 15:07:45 +08:00
parent 2ad5604b51
commit bdb2fe093c
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
<label for="year">年度</label><input id="year" type="text" name="year" placeholder="立案年度">
<button class="btn" type="submit">查询</button>
</form>
<div id="results" x-data="search" data-index="data/keywords.secret.json" x-cloak>
<div id="results" x-data="search" data-index="../../data/keywords.secret.json" x-cloak>
<template x-if="state === 'forbidden'">
<span :class="forbidden.hidden ? 'hidden-text' : 'visible-text'" x-text="forbidden.text"></span>
</template>