修改分页组件在部分场景中存在缓存问题导致部分数据无法查看的问题
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// pages/my/index.js
|
||||
import { alertInfo, alertSuccess } from "../../utils/index";
|
||||
import Dialog from '@vant/weapp/dialog/dialog';
|
||||
import { getUserInfo, logout } from "../../service/user";
|
||||
@@ -5,7 +6,6 @@ import { getDot } from "../../utils/system";
|
||||
import request from "../../utils/request"
|
||||
const { OK } = request;
|
||||
|
||||
// pages/my/index.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
@@ -116,38 +116,4 @@ Page({
|
||||
});
|
||||
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
@@ -1,9 +1,5 @@
|
||||
<!--pages/my/index.wxml-->
|
||||
|
||||
<!-- <cell open-type="contact" title="联系客服" borderBottom="{{true}}" />
|
||||
<cell title="常见问题" bind:click="jumpToQuestions" /> -->
|
||||
|
||||
<!-- <van-cell-group title=" "> -->
|
||||
<navigator title="我的" />
|
||||
<van-cell title="联系客服" value="" is-link bind:tap="connect" />
|
||||
<van-cell wx:if="{{!!user.isAdmin}}" title="二维码" value="" is-link bind:click="jumpToQrCode" />
|
||||
@@ -19,9 +15,5 @@
|
||||
<van-cell title="绑定企业" value="" is-link bind:tap="bindTenement" />
|
||||
<van-cell title="常见问题" value="" is-link bind:tap="jumpToQuestions" />
|
||||
<van-cell title="退出登录" value="" is-link bind:tap="logout" />
|
||||
<!-- </van-cell-group> -->
|
||||
<!-- <van-cell-group title=" ">
|
||||
<van-cell title="单元格" value="内容" is-link />
|
||||
</van-cell-group> -->
|
||||
|
||||
<van-dialog id="van-dialog" />
|
Reference in New Issue
Block a user