Commit a67e79f3 by liwk

commit

1 parent e86b9a80
...@@ -104,8 +104,14 @@ export default { ...@@ -104,8 +104,14 @@ export default {
} }
}, },
mounted () { mounted () {
let { sessionId } = this.$store.state let { sessionId, phone } = this.$store.state
const ua = navigator.userAgent.toLowerCase()
if (sessionId) { if (sessionId) {
if (!this.isMiniprogram) {
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
if (!phone) return
}
}
equity.getCardInfo().then(res => { equity.getCardInfo().then(res => {
let { code } = res let { code } = res
if (code == 0) { if (code == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!