change function name

wechat_user_type
Ge Hao 8 years ago
parent fa4aafcf62
commit fc3d4e2bf8
  1. 2
      pages/mine/mine.js
  2. 2
      pages/mine/mine.wxml

@ -98,7 +98,7 @@ Page({
})
},
bindSubmitMobile: function(e) {
bindLoginMobilecode: function(e) {
if (!this.bindCheckMobile(this.data.mobile)) { return }
var data = {mobile: this.data.mobile, mobile_code: e.detail.value.code, name: this.data.userInfo.nickName}
profile.getCustomerInfo(data, this.infoCallback)

@ -9,7 +9,7 @@
<view wx:if="{{needBindMobile}}">
<view wx:if="{{useCodeToLogIn}}">
<view class="login-title">关联手机号</view>
<form bindsubmit="bindSubmitMobile">
<form bindsubmit="bindLoginMobilecode">
<form bindsubmit="bindGetPassCode">
<view class="login">
<view class="first-line"><input type="digit" name="mobile" bindinput="bindInputMobile" placeholder="输入手机号" value="{{mobile}}"></input></view>

Loading…
Cancel
Save