lex-xin 4 rokov pred
rodič
commit
48c4ea665d

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/index.html


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/static/js/app.17d56e78.js


+ 9 - 9
src/utils/validate.js

@@ -26,12 +26,12 @@ export function isvalidPhone(str) {
 export function vaildStudentUrl() {
   let url = window.location.href
   let returnUrl = ''
-  if (/dev/.test(url)) { // dev 环境
+  if (/online/.test(url)) { //线上
+    returnUrl = 'https://mstuonline.dayaedu.com'
+  } else if (/dev/.test(url)) { // dev 环境
     returnUrl = 'http://mstudev.dayaedu.com'
   } else if (/test/.test(url)) { // dev 环境
     returnUrl = 'http://mstutest.dayaedu.com'
-  } else if (/online/.test(url)) { //线上
-    returnUrl = 'https://mstuonline.dayaedu.com'
   } else { // 默认dev环境
     returnUrl = 'http://mstudev.dayaedu.com'
   }
@@ -42,12 +42,12 @@ export function vaildStudentUrl() {
 export function vaildTeacherUrl() {
   let url = window.location.href
   let returnUrl = ''
-  if (/dev/.test(url)) { // dev 环境
+  if (/online/.test(url)) { //线上
+    returnUrl = 'https://mteaonline.dayaedu.com'
+  } else if (/dev/.test(url)) { // dev 环境
     returnUrl = 'http://mteadev.dayaedu.com'
   } else if (/test/.test(url)) { // dev 环境
     returnUrl = 'http://mteatest.dayaedu.com'
-  } else if (/online/.test(url)) { //线上
-    returnUrl = 'https://mteaonline.dayaedu.com'
   } else { // 默认dev环境
     returnUrl = 'http://mteadev.dayaedu.com'
   }
@@ -58,12 +58,12 @@ export function vaildTeacherUrl() {
 export function vaildTeachingUrl() {
   let url = window.location.href
   let returnUrl = ''
-  if (/dev/.test(url)) { // dev 环境
+  if (/online/.test(url)) { //线上
+    returnUrl = 'https://manonline.dayaedu.com'
+  } else if (/dev/.test(url)) { // dev 环境
     returnUrl = 'http://mandev.dayaedu.com'
   } else if (/test/.test(url)) { // dev 环境
     returnUrl = 'http://mantest.dayaedu.com'
-  } else if (/online/.test(url)) { //线上
-    returnUrl = 'https://manonline.dayaedu.com'
   } else { // 默认dev环境
     returnUrl = 'http://mandev.dayaedu.com'
   }

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov