From 11e95ea092e2c1e5d8ee3defba3a8a211cc65864 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Jun 2018 18:57:54 +0900 Subject: [PATCH] wip --- .../app/common/views/components/ui/button.vue | 48 ++++++++++++++++--- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/src/client/app/common/views/components/ui/button.vue b/src/client/app/common/views/components/ui/button.vue index 57747fd46..7723c83f5 100644 --- a/src/client/app/common/views/components/ui/button.vue +++ b/src/client/app/common/views/components/ui/button.vue @@ -14,6 +14,17 @@ export default Vue.extend({ type: String, required: false } + }, + data() { + return { + styl: 'fill' + }; + }, + inject: ['isCardChild'], + created() { + if (this.isCardChild) { + this.styl = 'line'; + } } }); @@ -21,26 +32,49 @@ export default Vue.extend({