feat: 注释多余代码
This commit is contained in:
parent
8efffa4b94
commit
50356a4546
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue