fix: 上线修改
This commit is contained in:
@@ -33,9 +33,9 @@ onLoad((options) => {
|
||||
})
|
||||
|
||||
const handleRegister = mergeStep(async () => {
|
||||
if (!form.value.username) {
|
||||
if (!/^\d{11}$/.test(form.value.username)) {
|
||||
uni.showToast({
|
||||
title: '请输入用户名',
|
||||
title: '请输入正确手机号(11位)',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
@@ -107,7 +107,7 @@ onLoad(async (options) => {
|
||||
type="text"
|
||||
placeholder-class="text-#889BC6"
|
||||
class="text-right flex-1 text-14"
|
||||
placeholder="请输入用户名"
|
||||
placeholder="请输入手机号"
|
||||
/>
|
||||
</view>
|
||||
<view class="flex items-center py-15">
|
||||
|
||||
Reference in New Issue
Block a user