|
@@ -62,21 +62,23 @@ const { authPanelCenter, authPanelLeft, authPanelRight, isDark } =
|
|
|
</template>
|
|
|
</AuthenticationFormView>
|
|
|
|
|
|
- <!-- 头部 Logo 和应用名称 -->
|
|
|
- <div
|
|
|
- v-if="logo || appName"
|
|
|
- class="absolute left-0 top-0 z-10 flex flex-1"
|
|
|
- @click="clickLogo"
|
|
|
- >
|
|
|
+ <slot name="logo">
|
|
|
+ <!-- 头部 Logo 和应用名称 -->
|
|
|
<div
|
|
|
- class="text-foreground lg:text-foreground ml-4 mt-4 flex flex-1 items-center sm:left-6 sm:top-6"
|
|
|
+ v-if="logo || appName"
|
|
|
+ class="absolute left-0 top-0 z-10 flex flex-1"
|
|
|
+ @click="clickLogo"
|
|
|
>
|
|
|
- <img v-if="logo" :alt="appName" :src="logo" class="mr-2" width="42" />
|
|
|
- <p v-if="appName" class="m-0 text-xl font-medium">
|
|
|
- {{ appName }}
|
|
|
- </p>
|
|
|
+ <div
|
|
|
+ class="text-foreground lg:text-foreground ml-4 mt-4 flex flex-1 items-center sm:left-6 sm:top-6"
|
|
|
+ >
|
|
|
+ <img v-if="logo" :alt="appName" :src="logo" class="mr-2" width="42" />
|
|
|
+ <p v-if="appName" class="m-0 text-xl font-medium">
|
|
|
+ {{ appName }}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </slot>
|
|
|
|
|
|
<!-- 系统介绍 -->
|
|
|
<div v-if="!authPanelCenter" class="relative hidden w-0 flex-1 lg:block">
|