fix: fixed the code for AdminMain
This commit is contained in:
parent
651fb2b1a1
commit
9f3754776f
@ -24,37 +24,27 @@ import ProjectComp from '../components/Project-comp.vue';
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
export default {
|
import { ref } from "vue";
|
||||||
name: "App",
|
|
||||||
components: {
|
const projects = ref([
|
||||||
Header,
|
{
|
||||||
ProjectComp,
|
name: "Projet Alpha",
|
||||||
|
link: "/project-alpha.html", // to test
|
||||||
|
members: ["Alice", "Bob", "Charlie"],
|
||||||
},
|
},
|
||||||
data() {
|
{
|
||||||
return {
|
name: "Projet Beta",
|
||||||
projects: [
|
link: "./project-beta.html", // to test
|
||||||
{
|
members: ["David", "Eve", "Frank"],
|
||||||
name: "Projet Alpha",
|
|
||||||
link: "/project-alpha.html", // to test
|
|
||||||
members: ["Alice", "Bob", "Charlie"],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Projet Beta",
|
|
||||||
link: "./project-beta.html", // to test
|
|
||||||
members: ["David", "Eve", "Frank"],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
|
|
||||||
rendezVous: [
|
|
||||||
{ projectName: "Projet Alpha", date: "2025-03-10", lieu: "P106" },
|
|
||||||
{ projectName: "Projet Beta", date: "2025-04-15", lieu: "Td10" },
|
|
||||||
],
|
|
||||||
};
|
|
||||||
},
|
},
|
||||||
};
|
]);
|
||||||
|
|
||||||
|
const rendezVous = ref([
|
||||||
|
{ projectName: "Projet Alpha", date: "2025-03-10", lieu: "P106" },
|
||||||
|
{ projectName: "Projet Beta", date: "2025-04-15", lieu: "Td10" },
|
||||||
|
]);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user