feat: refs #6891 add custom url
This commit is contained in:
parent
111333a6cf
commit
e9f5c0cc8d
|
@ -21,6 +21,7 @@ const props = defineProps({
|
||||||
searchbarUrl: { type: String, default: undefined },
|
searchbarUrl: { type: String, default: undefined },
|
||||||
searchbarLabel: { type: String, default: '' },
|
searchbarLabel: { type: String, default: '' },
|
||||||
searchbarInfo: { type: String, default: '' },
|
searchbarInfo: { type: String, default: '' },
|
||||||
|
customRouteRedirectName: { type: String, default: undefined },
|
||||||
});
|
});
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
@ -58,6 +59,7 @@ if (props.baseUrl) {
|
||||||
:url="props.searchbarUrl"
|
:url="props.searchbarUrl"
|
||||||
:label="t(props.searchbarLabel)"
|
:label="t(props.searchbarLabel)"
|
||||||
:info="t(props.searchbarInfo)"
|
:info="t(props.searchbarInfo)"
|
||||||
|
:custom-route-redirect-name="props.customRouteRedirectName"
|
||||||
/>
|
/>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
||||||
|
|
Loading…
Reference in New Issue