123456789101112131415161718192021222324252627 |
- import {
- getBeLikeList
- } from '~/api/message'
- import reachBottom from '~/mixins/reachBottom'
- Page({
- behaviors: [reachBottom],
- data: {
- list: []
- },
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
- this.getBeLikeList()
- },
- loadMore() {
- this.getData(getBeLikeList)
- },
- async getBeLikeList() {
- let list = await getBeLikeList()
- console.log(list);
- this.setData({
- list
- })
- }
- })
|