mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
chore(Calendar): remove unused getDate
This commit is contained in:
@@ -65,7 +65,6 @@ export default createComponent({
|
||||
|
||||
const shouldRender = computed(() => visible.value || !props.lazyRender);
|
||||
|
||||
const getDate = () => props.date;
|
||||
const getTitle = () => title.value;
|
||||
|
||||
const scrollIntoView = (body) => {
|
||||
@@ -237,7 +236,6 @@ export default createComponent({
|
||||
};
|
||||
|
||||
useExpose({
|
||||
getDate,
|
||||
getTitle,
|
||||
getHeight: () => height.value,
|
||||
setVisible,
|
||||
|
Reference in New Issue
Block a user