修改分页组件在部分场景中存在缓存问题导致部分数据无法查看的问题

This commit is contained in:
2024-08-08 10:30:55 +08:00
parent cf7756dd5c
commit b9e1b06d29
33 changed files with 56 additions and 886 deletions

View File

@@ -5,14 +5,6 @@ import request from "../../../../utils/request"
const { OK } = request;
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
@@ -21,9 +13,6 @@ Component({
},
lifetimes: {
attached: function() {
// this.setData({
// list: []
// })
this.init();
}
},

View File

@@ -3,8 +3,6 @@
.item {
display: flex;
align-items: center;
/* padding-top: 24rpx; */
/* padding-bottom: 24rpx; */
padding: 24rpx;
margin-left: 32rpx;
margin-right: 32rpx;
@@ -19,7 +17,6 @@
}
.operate {
/* display: flex; */
height: 100%;
display: flex;
flex-direction: column;

View File

@@ -7,64 +7,9 @@ Page({
data: {
active: 0
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
onChangeTab(e) {
this.setData({
active: e.detail.index
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})