Commit 8e5225f7 by 梁建民

js

parent 0ed6cd3f
Showing with 4 additions and 6 deletions
const http = require('../../../utils/util.js');
import {
apis
} from '../../../utils/api.js';
import { apis } from '../../../utils/api.js';
Page({
......@@ -162,7 +160,7 @@ Page({
});
if (reg_mobile.test(value)) {
wx.hideKeyboard();
wx.hideKeyboard();
this.setData({
error: false,
errorText: '',
......@@ -201,7 +199,7 @@ Page({
*/
formSubmit: function (e) {
var self=this;
var self = this;
if (this.calcForm(e.detail.value)) {
......@@ -210,7 +208,7 @@ Page({
loading: true
});
http.getData(apis.authlogin,'POST', e.detail.value, function (res) {
http.getData(apis.authlogin, 'POST', e.detail.value, function (res) {
if (res.err_code === 0) {
......
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 sign in to comment