Ver Fonte

Update index.tsx

lex há 1 ano atrás
pai
commit
a97474d258
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      src/views/student-register/index.tsx

+ 3 - 0
src/views/student-register/index.tsx

@@ -525,6 +525,9 @@ export default defineComponent({
         await paymentContinue();
       } catch (e: any) {
         //
+        if (e.message === '当前学生已有在读学校') {
+          showToast('当前学生已有在读学校');
+        }
         console.log(e.message, 'any');
       }
     };