Whatever ClearWindow needs to be in json
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
<script setup>
|
||||
import { TransitionGroup } from 'vue'
|
||||
import { Windows, ReloadRef, WindowMap, getComponent } from '@/services/Windows';
|
||||
|
||||
// Gestionem ventanas
|
||||
const reload = ReloadRef();
|
||||
const windows = Windows();
|
||||
|
||||
import { windows, getComponent } from '@/services/Windows';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="window-container" :key="reload">
|
||||
<TransitionGroup name="window">
|
||||
<component v-for="win in windows" :is="getComponent(win.type)" :key="win.id" :data="win"></component>
|
||||
<div class="window-container">
|
||||
<TransitionGroup name="window" tag="div">
|
||||
<div v-for="win in windows" :key="win.id">
|
||||
<component :is="getComponent(win.type)" :data="win" />
|
||||
</div>
|
||||
</TransitionGroup>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user