diff --git a/pages/login/index.vue b/pages/login/index.vue index 3698908..ecd44aa 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -176,8 +176,8 @@ export default { this.$store.dispatch("contact/getSentFriendApplications"); this.$store.dispatch("contact/getRecvGroupApplications"); this.$store.dispatch("contact/getSentGroupApplications"); - await getSMSCodeFromOa(this.loginInfo.phoneNumber); - const info = await loginOaByPhone(this.loginInfo.phoneNumber) + // await getSMSCodeFromOa(this.loginInfo.phoneNumber); + // const info = await loginOaByPhone(this.loginInfo.phoneNumber) this.loginInfo.password = ""; this.loading = false; uni.switchTab({ diff --git a/util/oaRequest.js b/util/oaRequest.js index 35c9b0e..c920a17 100644 --- a/util/oaRequest.js +++ b/util/oaRequest.js @@ -8,7 +8,7 @@ const baseUrl = 'http://110.41.139.73:8080' // const baseUrl = 'http://localhost:8080' // 显示loading提示 -const showLoading = (title = '正在重新登录...') => { +const showLoading = (title = '正在登录OA系统...') => { uni.showLoading({ title: title, mask: true