|
|
@@ -81,20 +81,6 @@ const modifyInfo = (action) => {
|
|
|
if (action === 'cancel') {
|
|
|
showEditDialog.value = false
|
|
|
} else {
|
|
|
- if (!currentCard.name) {
|
|
|
- showToast({
|
|
|
- message: '请输入姓名',
|
|
|
- position: 'top',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!isValidIdcard(currentCard.socialNo)) {
|
|
|
- showToast({
|
|
|
- message: '请输入正确的身份证号码',
|
|
|
- position: 'top',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
if (!isValidPhone(currentCard.phone)) {
|
|
|
showToast({
|
|
|
message: '请输入正确的手机号码',
|