lex 11 месяцев назад
Родитель
Сommit
3d2a90d15c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/activation-code/activation-register/index.tsx

+ 3 - 1
src/views/activation-code/activation-register/index.tsx

@@ -465,7 +465,9 @@ export default defineComponent({
           const status = await checkLogin();
           if (!status) {
             studentInfo.username = '';
-            forms.activationCode = '';
+            if (!route.query.code) {
+              forms.activationCode = '';
+            }
             phoneChangeEmptyInfo();
           }
         }