|
@@ -58,14 +58,18 @@ export default {
|
58
|
58
|
uni.showLoading({
|
59
|
59
|
title: "提交中",
|
60
|
60
|
});
|
61
|
|
- uni.login({
|
62
|
|
- provider: "weixin",
|
63
|
|
- success: (result) => {
|
|
61
|
+ // uni.login({
|
|
62
|
+ // provider: "weixin",
|
|
63
|
+ // fail:err=>{
|
|
64
|
+ // console.log('err',err)
|
|
65
|
+ // },
|
|
66
|
+ // success: (result) => {
|
|
67
|
+ // console.log('ok',reset)
|
64
|
68
|
this.api
|
65
|
69
|
.post("/Login/LoginByAccount", {
|
66
|
70
|
userName: this.userName,
|
67
|
71
|
password: this.password,
|
68
|
|
- code: result.code,
|
|
72
|
+ // code: result.code,
|
69
|
73
|
})
|
70
|
74
|
.then((res) => {
|
71
|
75
|
uni.hideLoading();
|
|
@@ -100,8 +104,8 @@ export default {
|
100
|
104
|
});
|
101
|
105
|
}
|
102
|
106
|
});
|
103
|
|
- },
|
104
|
|
- });
|
|
107
|
+ // },
|
|
108
|
+ // });
|
105
|
109
|
},
|
106
|
110
|
},
|
107
|
111
|
|