一键登录

This commit is contained in:
唐明明
2021-10-20 10:41:49 +08:00
parent 0fb9a41178
commit 9052c3001b
46 changed files with 1474 additions and 660 deletions

16
App.vue
View File

@@ -15,11 +15,23 @@
// });
// }
},
onShow: function() {
console.log('App Show')
onShow(){
uni.getClipboardData({
success: res=> {
if(res.data.indexOf('$InviTaTiOn$CoDe/$-?') === 2){
this.globalData.parentId = res.data.replace('$InviTaTiOn$CoDe/$-?', '')
}
},
fail(err) {
console.log(err)
}
})
},
onHide: function() {
console.log('App Hide')
},
globalData:{
parentId: ""
}
}
</script>