feat: 注释多余代码

This commit is contained in:
yangzhe 2025-04-09 14:13:41 +08:00
parent 8efffa4b94
commit 50356a4546
1 changed files with 14 additions and 14 deletions

View File

@ -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: {