clean up
This commit is contained in:
parent
6dc9a6ccc3
commit
e41047de6a
@ -33,7 +33,7 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
|
||||
setup(props, { slots, expose, emit }) {
|
||||
setup(props, { slots, expose }) {
|
||||
function getDateText(time: string) {
|
||||
const date = new Date(time).getDate();
|
||||
const month = new Date(time).getMonth() + 1;
|
||||
|
@ -90,13 +90,9 @@ export function scrollToTop(el: HTMLElement, options: { behavior?: ScrollBehavio
|
||||
|
||||
/**
|
||||
* Scroll to Bottom
|
||||
* 通常のページで ウィジェット高さ > コンテンツ高さ の場合にうまく動くように
|
||||
* 若干処理が複雑になっている
|
||||
* @param el Content element
|
||||
* @param options Scroll options
|
||||
* @param container Scroll container element
|
||||
* @param sticky To add sticky-top
|
||||
* @param mobileButtons To add mobile buttons
|
||||
*/
|
||||
export function scrollToBottom(
|
||||
el: HTMLElement,
|
||||
|
Loading…
Reference in New Issue
Block a user