test(Calendar): add test cases

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 87ecdf9425
commit dec732daac
9 changed files with 790 additions and 10 deletions
+1 -4
View File
@@ -12,10 +12,7 @@ export default createComponent({
methods: {
genTitle() {
const title = this.slots('title') || this.title || t('title');
if (title) {
return <div class={bem('header-title')}>{title}</div>;
}
return <div class={bem('header-title')}>{title}</div>;
},
genMonth() {