You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
381 B
22 lines
381 B
// import type { XtxGuessInstance } from '@/types/component'
|
|
import { ref } from 'vue'
|
|
|
|
/**
|
|
* 猜你喜欢组合式函数
|
|
*/
|
|
export const useGuessList = () => {
|
|
// 获取猜你喜欢实例
|
|
const guessRef = ref()
|
|
|
|
const onScrolltolower = () => {
|
|
console.log('柴胡滴')
|
|
guessRef.value?.getMore()
|
|
}
|
|
|
|
// 返回
|
|
return {
|
|
onScrolltolower,
|
|
guessRef,
|
|
}
|
|
}
|