More things work now
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { SetupHandle, SetSize, ResetPosition, CreateWindow, ClearWindow } from '@/services/Windows';
|
||||
import { SetupHandle, SetSize, ResetPosition, CreateWindow, ClearWindow, Top } from '@/services/Windows';
|
||||
|
||||
import WindowHandle from './partials/WindowHandle.vue';
|
||||
import Spinner from '../partials/Spinner.vue';
|
||||
@@ -9,6 +9,7 @@ import Server from '~/services/Server';
|
||||
import { errorMessages } from 'vue/compiler-sfc';
|
||||
|
||||
const handle = ref(null);
|
||||
const wrapper = ref(null);
|
||||
|
||||
const props = defineProps(['data']);
|
||||
const data = props.data;
|
||||
@@ -34,6 +35,7 @@ const images = [
|
||||
const splashSource = ref("");
|
||||
|
||||
onMounted(() => {
|
||||
Top(wrapper);
|
||||
SetupHandle(id, handle);
|
||||
SetSize(id, {width: 500});
|
||||
ResetPosition(id, "center");
|
||||
@@ -46,7 +48,7 @@ onMounted(() => {
|
||||
|
||||
function toLogin(){
|
||||
CreateWindow('login');
|
||||
ClearWindow('register');
|
||||
ClearWindow({type: 'register'});
|
||||
}
|
||||
|
||||
function register(){
|
||||
@@ -93,7 +95,7 @@ function register(){
|
||||
|
||||
|
||||
<template>
|
||||
<div class="window-wrapper" :id="'window-wrapper-' + id">
|
||||
<div class="window-wrapper" :id="'window-wrapper-' + id" ref="wrapper">
|
||||
<WindowHandle :window="id" ref="handle"></WindowHandle>
|
||||
|
||||
<!-- Body -->
|
||||
|
||||
Reference in New Issue
Block a user