Merge branch 'pinjinjin' of git.ishopex.cn:onex/espier-taro-fenxiao into pinjinjin

This commit is contained in:
chenhui0212
2019-03-04 10:24:46 +08:00
2 changed files with 9 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
<meta name="apple-touch-fullscreen" content="yes">
<meta name="format-detection" content="telephone=no,address=no">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta name="referrer" content="never">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
<title>Taro</title>
<script>

View File

@@ -22,6 +22,14 @@ export default class WgtCoupon extends Component {
}
}
handleGetUserInfo = () => {
if (this.state.hasAuth) return
Taro.redirectTo({
url: '/pages/auth/login'
})
}
handleGetCard = (cardId) => {
let data = {}
try {