修改
This commit is contained in:
parent
6f83cdda89
commit
a9f851897d
@ -21,29 +21,14 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
phonecode: '',
|
||||
logincode: '',
|
||||
timer: null,
|
||||
phonecode: undefined,
|
||||
logincode: undefined,
|
||||
timer: undefined,
|
||||
};
|
||||
},
|
||||
onShow() {},
|
||||
//1.分享给朋友
|
||||
onShareAppMessage(res) {
|
||||
let pages = getCurrentPages();
|
||||
let url = pages[pages.length - 1].$page.fullPath
|
||||
return {
|
||||
title: '泉医到家',
|
||||
path: url,
|
||||
}
|
||||
},
|
||||
//2.分享到朋友圈
|
||||
onShareTimeline(res) {
|
||||
let pages = getCurrentPages();
|
||||
let url = pages[pages.length - 1].$page.fullPath
|
||||
return {
|
||||
title: '泉医到家',
|
||||
path: url,
|
||||
}
|
||||
onShow() {
|
||||
this.phonecode = undefined
|
||||
this.logincode = undefined
|
||||
},
|
||||
methods: {
|
||||
getPhoneNumberp(val) {
|
||||
@ -70,6 +55,8 @@
|
||||
type: 'success',
|
||||
duration: '1500'
|
||||
})
|
||||
this.phonecode = undefined
|
||||
this.logincode = undefined
|
||||
uni.setStorageSync("Refresh", 'Refresh')
|
||||
if (this.timer) {
|
||||
clearTimeout(this.timer)
|
||||
@ -96,6 +83,23 @@
|
||||
that.login()
|
||||
})
|
||||
},
|
||||
}, //1.分享给朋友
|
||||
onShareAppMessage(res) {
|
||||
let pages = getCurrentPages();
|
||||
let url = pages[pages.length - 1].$page.fullPath
|
||||
return {
|
||||
title: '泉医到家',
|
||||
path: url,
|
||||
}
|
||||
},
|
||||
//2.分享到朋友圈
|
||||
onShareTimeline(res) {
|
||||
let pages = getCurrentPages();
|
||||
let url = pages[pages.length - 1].$page.fullPath
|
||||
return {
|
||||
title: '泉医到家',
|
||||
path: url,
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user