From 2ac208b99d49f66705f2aabcc8a28e1359604e50 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Wed, 15 Mar 2017 11:32:12 +0800 Subject: [PATCH] fixed #407 --- examples/routers/modal.vue | 113 ++++++++++++++++++++++++++++++----------------------------------------------------------------------------------- src/components/modal/modal.vue | 2 +- 2 files changed, 31 insertions(+), 84 deletions(-) diff --git a/examples/routers/modal.vue b/examples/routers/modal.vue index caef87d..c583fad 100644 --- a/examples/routers/modal.vue +++ b/examples/routers/modal.vue @@ -1,94 +1,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 5c30c5d..f33067f 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -198,7 +198,7 @@ let showHead = true; - if (this.$slots.head === undefined && !this.title) { + if (this.$slots.header === undefined && !this.title) { showHead = false; } -- libgit2 0.21.4