소스 검색

重新打包

lex-xin 4 년 전
부모
커밋
48c4ea665d
3개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/app.17d56e78.js
  3. 9 9
      src/utils/validate.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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'
   }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.