From 6290eee15637a0dcc35c3c361f8a3e6d6c5d6cf8 Mon Sep 17 00:00:00 2001 From: jedi Date: Tue, 24 Dec 2019 14:40:01 +0100 Subject: [PATCH] use slot in table too --- src/components/Table.vue | 6 ++---- src/views/Boxes.vue | 13 +++++++------ src/views/Items.vue | 19 +++++++++---------- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/components/Table.vue b/src/components/Table.vue index 72c5872..ef22e94 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -24,16 +24,14 @@ > - actions + {{ item[column] }} -
- -
+ diff --git a/src/views/Boxes.vue b/src/views/Boxes.vue index b6eb776..051e3de 100644 --- a/src/views/Boxes.vue +++ b/src/views/Boxes.vue @@ -4,14 +4,15 @@
+ v-slot="{ item }" + > +
+ + +
+
diff --git a/src/views/Items.vue b/src/views/Items.vue index cd73265..c9a73e3 100644 --- a/src/views/Items.vue +++ b/src/views/Items.vue @@ -17,22 +17,21 @@
+ > +
+ + +
+