Commit 4c98bba5 authored by sjf1256754123's avatar sjf1256754123

Update leader.vue

parent fbbae078
......@@ -3,7 +3,7 @@
<form @submit="formSubmit" @reset="formReset">
<view class="cu-form-group">
<view class="title"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx">*</span>姓名</view>
<input class="text-right" placeholder="请输入姓名" :value="form.name" name="input" @input="updateInputVal($event,'name')"></input>
<input class="text-right" placeholder="请输入姓名(注意简繁体)" :value="form.name" name="input" @input="updateInputVal($event,'name')"></input>
</view>
<view class="cu-form-group">
<view class="title">手机号码</view>
......@@ -55,17 +55,22 @@
icon: 'success',
title: '注册成功!'
})
setTimeout(function() {
uni.navigateTo({
url: '/pages/index/index',
});
}, 1500);
}else{
uni.showToast({
icon: 'none',
title: d.message
})
setTimeout(function() {
uni.navigateTo({
url: '/pages/index/index',
});
}, 1500);
}
}).catch(err => {
console.log(err)
......
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 to comment