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() { onLoad() {
this.getUserInfo(); // this.getUserInfo();
const that = this; // const that = this;
uni.getSystemInfo({ // uni.getSystemInfo({
success: function (res) { // success: function (res) {
console.log("res", res); // console.log("res", res);
that.version = res.appVersion; // that.version = res.appVersion;
}, // },
}); // });
}, },
onShow() { onShow() {
uni.$on("refresh", (e) => { // uni.$on("refresh", (e) => {
this.getUserInfo(); // this.getUserInfo();
uni.$off("refresh"); // uni.$off("refresh");
}); // });
}, },
// //
onPullDownRefresh() { onPullDownRefresh() {
//console.log('refresh'); //console.log('refresh');
this.getUserInfo(); // this.getUserInfo();
uni.stopPullDownRefresh(); // // uni.stopPullDownRefresh(); //
}, },
methods: { methods: {