Добавлена таблица клиентов и popup окно для удаления и редактирования клиента

This commit is contained in:
DwCay
2022-10-13 04:11:02 +03:00
parent f83c262e4c
commit f5e948d0b4
13 changed files with 273 additions and 14 deletions

View File

@@ -1,8 +1,28 @@
<template lang="pug">
div {{persons["person"]}}
</template>
<script>
/* eslint-disable */
export default {
name: "TheCalendar",
data() {
return {
persons: { person: "dasda"},
};
},
methods: {
savePersons(data) {
console.log(data)
this.persons = data
},
},
mounted() {
fetch("https://afae35de-056c-4544-96a5-07f01c158778.mock.pstmn.io/urban")
.then((res) => res.json())
.then((data) => this.savePersons(data))
},
};
</script>
,