This commit is contained in:
Владимир Фёдоров 2025-05-20 03:29:23 +07:00
parent 39cdf1c162
commit 21160cd349

View File

@ -19,13 +19,14 @@
} }
type Team = { type Team = {
name: string
actions: Action[] actions: Action[]
} }
const login = ref("") const login = ref("")
const password = ref("") const password = ref("")
const place = ref("") const place = ref("")
const team = ref<Team>({actions: []}) const team = ref<Team>({name: "", actions: []})
const actions = ref<Action[]>([]) const actions = ref<Action[]>([])
const scrollContainer = ref<HTMLDivElement | null>(); const scrollContainer = ref<HTMLDivElement | null>();
@ -101,7 +102,6 @@
sessionStorage.setItem("teamId", login.value) sessionStorage.setItem("teamId", login.value)
sessionStorage.setItem("password", password.value) sessionStorage.setItem("password", password.value)
} }
// http://localhost:5174?name=name&password=pass
getTeam() getTeam()