Commit 4c98bba5 authored by sjf1256754123's avatar sjf1256754123

Update leader.vue

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