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:
+1
-1
@@ -37,7 +37,7 @@
|
||||
<div class="sheet narrow" x-show="!unlocked">
|
||||
<form class="gate" @submit.prevent="submit">
|
||||
<label for="law">法条依据</label>
|
||||
<input id="law" type="text" name="law" placeholder="法条依据" data-expect-any>
|
||||
<input id="law" type="text" name="law" placeholder="法条依据" data-expect-any="1">
|
||||
<p class="gate-error" x-show="error" x-text="error" x-cloak></p>
|
||||
<button class="btn" type="submit">提交材料</button>
|
||||
</form>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user