mirror of https://github.com/halo-dev/halo
feat: display plugin started error reason
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/3445/head
parent
c3875c0671
commit
28367a0c81
|
@ -274,7 +274,7 @@ onMounted(handleFetchPlugins);
|
||||||
class="inline-flex flex-col flex-col-reverse items-end gap-4 sm:flex-row sm:items-center sm:gap-6"
|
class="inline-flex flex-col flex-col-reverse items-end gap-4 sm:flex-row sm:items-center sm:gap-6"
|
||||||
>
|
>
|
||||||
<FloatingTooltip
|
<FloatingTooltip
|
||||||
v-if="!plugin.spec.enabled"
|
v-if="plugin.status?.phase === 'FAILED'"
|
||||||
class="hidden items-center sm:flex"
|
class="hidden items-center sm:flex"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -284,7 +284,10 @@ onMounted(handleFetchPlugins);
|
||||||
class="inline-block h-1.5 w-1.5 animate-ping rounded-full bg-red-600"
|
class="inline-block h-1.5 w-1.5 animate-ping rounded-full bg-red-600"
|
||||||
></span>
|
></span>
|
||||||
</div>
|
</div>
|
||||||
<template #popper> 启动异常</template>
|
<template #popper>
|
||||||
|
{{ plugin.status?.reason }}:
|
||||||
|
{{ plugin.status?.message }}
|
||||||
|
</template>
|
||||||
</FloatingTooltip>
|
</FloatingTooltip>
|
||||||
<a
|
<a
|
||||||
:href="plugin.spec.homepage"
|
:href="plugin.spec.homepage"
|
||||||
|
|
Loading…
Reference in New Issue