Add new files and make code improvements

This commit is contained in:
2024-03-06 15:14:39 +00:00
parent 113ac2aedd
commit 0a712e1864
55 changed files with 9390 additions and 973 deletions

View File

@@ -1,4 +1,6 @@
import { createApp } from 'https://unpkg.com/petite-vue?module';
// añade una ventana de confirmación al intentar cambiar de página
const app = createApp({
message: null,
puestos: [],
@@ -57,6 +59,8 @@ const app = createApp({
});
const data = await res.json();
this.message = data.msg;
modificado = false;
// after 3 seconds, remove the message
setTimeout(() => {
this.message = null;