fix: search bar
This commit is contained in:
parent
663c093a00
commit
897ddc44fe
|
@ -13,6 +13,8 @@ function navigate(id) {
|
|||
router.push({ path: `/agency/${id}` });
|
||||
}
|
||||
function exprBuilder(param, value) {
|
||||
if (!value) return;
|
||||
console.log('value: ', value);
|
||||
if (param !== 'search') return;
|
||||
|
||||
if (!isNaN(value)) return { id: value };
|
||||
|
|
|
@ -32,7 +32,7 @@ watch(
|
|||
<VnSearchbar
|
||||
:info="t('Agency.searchBar.info')"
|
||||
:label="t('Agency.searchBar.label')"
|
||||
data-key="Agency"
|
||||
data-key="AgencyList"
|
||||
/>
|
||||
</Teleport>
|
||||
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
||||
|
|
Loading…
Reference in New Issue