refs #6416 feat: VnCardSection
This commit is contained in:
parent
9b0613a557
commit
89b6c50b97
|
@ -3,13 +3,15 @@ import { useI18n } from 'vue-i18n';
|
|||
|
||||
const $props = defineProps({
|
||||
title: { type: String, require: true, default: 'twoFactor.validate' },
|
||||
href: { type: String, require: true, default: null },
|
||||
});
|
||||
const { t } = useI18n();
|
||||
</script>
|
||||
<template>
|
||||
<QCardSection class="q-pa-none">
|
||||
<a class="header">
|
||||
<a class="header" :href="$props.href">
|
||||
{{ t($props.title) }}
|
||||
<slot name="icon"></slot>
|
||||
</a>
|
||||
<slot name="btn"></slot>
|
||||
</QCardSection>
|
||||
|
|
Loading…
Reference in New Issue