Merge pull request #756 from hezhiying/modal

修复modal标题属性首次如果没有值,再赋值的话就会没用
This commit is contained in:
Aresn 2017-04-25 14:06:48 +08:00 committed by GitHub
commit af93145520
2 changed files with 11 additions and 3 deletions

View file

@ -261,6 +261,11 @@
} else {
this.removeScrollEffect();
}
},
title (val) {
if (this.$slots.header === undefined) {
this.showHead = val?true:false;
}
}
}
};