10 2021 档案

摘要:长按删除并解决点击的冲突 <view class="item-box" v-for="(item,index) in result" @click="more(item)" @touchstart.prevent="touchstart(item.topic, index)" @touchend.p 阅读全文
posted @ 2021-10-18 16:26 大海& 阅读(1312) 评论(0) 推荐(0) 编辑
摘要:用于定时请求接口或者刷新页面的操作 // 首先调用一次函数否则就要等5秒后才能执行 this.getData(); let timer = setInterval(() => { // 使用setTimeout是因为它可以清除定时器 setTimeout(this.getData, 0) }, 50 阅读全文
posted @ 2021-10-18 16:13 大海& 阅读(1823) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
🚀
回顶
收起
🔑
  1. 1 404 not found REOL
404 not found - REOL
00:00 / 00:00
An audio error has occurred.