Commit a67e79f3 by liwk

commit

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