12345678910111213141516171819202122232425262728 |
- import {
- getMyActivity,
- thumbsUp,
- deleteActivity
- } from '~/api/activity'
- Page({
- /**
- * 页面的初始数据
- */
- data: {
- isMy: false
- },
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
- this.getMyActivity()
- },
- async getMyActivity() {
- let res = await getMyActivity()
- console.log(res);
- },
- onShareAppMessage() {
- }
- })
|