fix: empty session page
This commit is contained in:
@@ -4,7 +4,13 @@ import {useLazyAsyncData} from '#app'
|
||||
|
||||
const loginState = useLoginState()
|
||||
|
||||
const props = defineProps()
|
||||
const props = defineProps({
|
||||
nonBack: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
})
|
||||
// noinspection JSUnusedLocalSymbols
|
||||
const emit = defineEmits({
|
||||
select: (assistant: Assistant | null) => true,
|
||||
cancel: () => true,
|
||||
@@ -58,6 +64,7 @@ const {
|
||||
</Transition>
|
||||
<div class="w-full p-2">
|
||||
<UButton
|
||||
v-if="!nonBack"
|
||||
variant="ghost"
|
||||
size="xs"
|
||||
@click="emit('cancel')"
|
||||
@@ -123,6 +130,7 @@ const {
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!--suppress CssUnusedSymbol -->
|
||||
<style scoped>
|
||||
.loading-screen-leave-active {
|
||||
@apply transition duration-300;
|
||||
|
||||
Reference in New Issue
Block a user