From 50356a4546ebef33af360705d94ad66b1d6e697a Mon Sep 17 00:00:00 2001 From: yangzhe Date: Wed, 9 Apr 2025 14:13:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=A8=E9=87=8A=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/index.vue | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pages/user/index.vue b/pages/user/index.vue index 7719197..6d8aa86 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -89,27 +89,27 @@ export default { }; }, onLoad() { - this.getUserInfo(); - const that = this; - uni.getSystemInfo({ - success: function (res) { - console.log("res", res); - that.version = res.appVersion; - }, - }); + // this.getUserInfo(); + // const that = this; + // uni.getSystemInfo({ + // success: function (res) { + // console.log("res", res); + // that.version = res.appVersion; + // }, + // }); }, onShow() { - uni.$on("refresh", (e) => { - this.getUserInfo(); - uni.$off("refresh"); - }); + // uni.$on("refresh", (e) => { + // this.getUserInfo(); + // uni.$off("refresh"); + // }); }, // 下拉刷新 onPullDownRefresh() { //console.log('refresh'); - this.getUserInfo(); - uni.stopPullDownRefresh(); //停止刷新 + // this.getUserInfo(); + // uni.stopPullDownRefresh(); //停止刷新 }, methods: {