Commit b767d38b by 姜雷

修改登录流程

parent ac1631f4
......@@ -9,6 +9,8 @@ Page({
onLoad() {
if (app.globalData.token) {
this.tokenLoagin();
} else {
this.codeLogin();
}
},
data: {
......
......@@ -11,8 +11,8 @@
</div>
</view>
<button class="login-btn" bindtap="loginHandle">登录</button>
<view class="wx-login" bind:tap="codeLogin">
<!-- <view class="wx-login" bind:tap="codeLogin">
<image class="wx-login-icon" src="../../images/ic_wechat@2x.png"></image>
</view>
</view> -->
</view>
</view>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment