computed za data

This commit is contained in:
romankko2 committed 2023-01-17 17:46:26 +01:00
1 parent 8a4a919a29
commit 313de98c91
8 files changed
+71 -71

No files matched your search

@@ -34,6 +34,18 @@ export default {
}
},
computed: {
show: {
get() {
return this.visible
},
set(value) {
if (!value) this.$emit('close')
}
},
},
methods: {
async complete() {
try {
@@ -49,18 +61,6 @@ export default {
this.$toast.error(error)
}
}
},
computed: {
show: {
get() {
return this.visible
},
set(value) {
if (!value) this.$emit('close')
}
},
}
}
</script>