@@ -30,6 +30,7 @@
});
// 新的版本下载失败
updateManager.onUpdateFailed((res) => {});
+ // #endif
uni.$on('updateUserInfo', () => {
this.updateUserInfo();
@@ -39,8 +40,6 @@
}
- // #endif
-
uni.getSystemInfo({
success: function(e) {
console.log(e);
@@ -69,7 +68,6 @@
},
methods: {
- // #ifdef MP-WEIXIN
async updateUserInfo() {
(function getUserVal() {
if (getUserValTimeId) {
@@ -80,7 +78,6 @@
})
})()
</script>