mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
212b75c9fe
commit
a77b783795
@ -33,7 +33,7 @@
|
||||
<view class="block__title">联系信息</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">手机号</view>
|
||||
<input v-model="link" placeholder="请输入手机号(没有手机号随便写一个)"></input>
|
||||
<input v-model="link" placeholder="选填,请输入手机号"></input>
|
||||
</view>
|
||||
|
||||
<view class="block__title">相关图片</view>
|
||||
@ -155,10 +155,6 @@
|
||||
msg = "请填写业主";
|
||||
} else if (obj.name == "") {
|
||||
msg = "请填写姓名";
|
||||
} else if (obj.link == "") {
|
||||
msg = "请填写手机号";
|
||||
} else if (!checkPhoneNumber(obj.link)){
|
||||
msg = "手机号有误";
|
||||
}
|
||||
// todo 这里手机号关闭 因为 小朋友没有手机号
|
||||
//else if (obj.msgCode == "") {
|
||||
|
||||
@ -64,15 +64,7 @@
|
||||
},
|
||||
{
|
||||
value: '1002',
|
||||
name: '家庭成员'
|
||||
},
|
||||
{
|
||||
value: '1003',
|
||||
name: '租客'
|
||||
},
|
||||
{
|
||||
value: '1005',
|
||||
name: '其他'
|
||||
name: '成员'
|
||||
}
|
||||
],
|
||||
"typeCdIndex": 0,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user