From f3bd5baa8eb4eb7a896f7312a2e9a7c89a46cef5 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 27 八月 2024 09:18:29 +0800
Subject: [PATCH] ll
---
h5/pages/driver/register.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/h5/pages/driver/register.vue b/h5/pages/driver/register.vue
index ae1b1a5..89fe60a 100644
--- a/h5/pages/driver/register.vue
+++ b/h5/pages/driver/register.vue
@@ -49,12 +49,11 @@
</template>
<script>
-import { resetPassword, sendSms } from '@/api'
+import { driverRegister, sendSms } from '@/api'
export default {
data() {
return {
- form: {
- },
+ form: {},
isShowProtocol: false,
countDown: 0
}
@@ -84,7 +83,7 @@
onLogin() {
const { form } = this
if (!form.name) return uni.showToast({
- title: '鎵嬫満鍙峰鍚�',
+ title: '濮撳悕涓嶈兘涓虹┖',
icon: 'none'
})
if (!form.phone) return uni.showToast({
@@ -99,14 +98,14 @@
title: '瀵嗙爜涓嶈兘涓虹┖',
icon: 'none'
})
- resetPassword({
+ driverRegister({
...form
}).then(res => {
if (res && res.code == 200) {
setTimeout(() => {
uni.showToast({
title: '娉ㄥ唽鎴愬姛,璇峰墠寰�鐧诲綍',
- icon: 'success',
+ icon: 'none',
duration: 2000
})
})
--
Gitblit v1.9.3