mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-12 02:21:06 +08:00
32 lines
599 B
Vue
32 lines
599 B
Vue
<script setup lang="ts">
|
|
import image from '@images/no-data.svg'
|
|
|
|
const props = defineProps<Props>()
|
|
|
|
interface Props {
|
|
errorCode?: string
|
|
errorTitle?: string
|
|
errorDescription?: string
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<VEmptyState :image="image" size="250">
|
|
<template #title>
|
|
<div class="mt-8 text-2xl">
|
|
{{ props.errorTitle }}
|
|
</div>
|
|
</template>
|
|
|
|
<template #text>
|
|
<div class="text-subtitle mt-3">
|
|
{{ props.errorDescription }}
|
|
</div>
|
|
</template>
|
|
|
|
<template #actions>
|
|
<slot name="button" />
|
|
</template>
|
|
</VEmptyState>
|
|
</template>
|