Procházet zdrojové kódy

修改手机号时不再判断姓名和身份证号

lighter před 1 rokem
rodič
revize
428258536c

+ 0 - 14
src/views/mine/patient-id-cards/PatientCardInfo.vue

@@ -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: '请输入正确的手机号码',