chore(Calendar): remove unused getDate

This commit is contained in:
chenjiahan 2020-12-30 17:27:57 +08:00
parent a5ce7f487f
commit 568ba3d815

View File

@ -65,7 +65,6 @@ export default createComponent({
const shouldRender = computed(() => visible.value || !props.lazyRender); const shouldRender = computed(() => visible.value || !props.lazyRender);
const getDate = () => props.date;
const getTitle = () => title.value; const getTitle = () => title.value;
const scrollIntoView = (body) => { const scrollIntoView = (body) => {
@ -237,7 +236,6 @@ export default createComponent({
}; };
useExpose({ useExpose({
getDate,
getTitle, getTitle,
getHeight: () => height.value, getHeight: () => height.value,
setVisible, setVisible,