SanHQin 3 ماه پیش
والد
کامیت
25360f63f9

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/css/app.5448f6b9.css


+ 1 - 1
dist/index.html

@@ -36,7 +36,7 @@
         width: 100%;
         background: #e6eaf0;
         font-family: '黑体';
-      }</style><script defer="defer" src="/js/chunk-vendors.50f469f2.js"></script><script defer="defer" src="/js/app.df21bca3.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.55d5ac85.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
+      }</style><script defer="defer" src="/js/chunk-vendors.50f469f2.js"></script><script defer="defer" src="/js/app.3200de41.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.5448f6b9.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/app.3200de41.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/app.3200de41.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/app.df21bca3.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/app.df21bca3.js.map


+ 4 - 4
src/views/login/loginPage.vue

@@ -210,7 +210,7 @@ export default {
 
 			let str = this.account.replace(/(^\s*)|(\s*$)/g, "");
 
-			if (!regEmail.test(str)) {
+			if (!this.org) {
 				return this.$message.error(
 					"请在账号后添加组织后缀(账号@组织号.com 如:123456@cocorobo.com)"
 				);
@@ -219,8 +219,8 @@ export default {
 			if (this.allowOrgList.findIndex((i) => i.area) != -1) {
 				let _index = this.allowOrgList.findIndex((i) => i.area);
 				let _list = this.allowOrgList[_index].list;
-				if (
-					!_list.includes(this.OrgOptions.find((i) => i.Uorg == this.org).id)
+				console.log(this.OrgOptions)
+				if (this.OrgOptions.find((i) => i.Uorg == this.org) && !_list.includes(this.OrgOptions.find((i) => i.Uorg == this.org).id)
 				) {
 					return this.$message.error("该组织/学校不允许登录");
 				}
@@ -497,7 +497,7 @@ export default {
 					if (this.allowOrgList.findIndex((i) => i.area) != -1) {
 						let _index = this.allowOrgList.findIndex((i) => i.area);
 						let _list = this.allowOrgList[_index].list;
-						if (
+						if (this.OrgOptions.find((i) => i.Uorg == this.org) && 
 							!_list.includes(
 								this.OrgOptions.find((i) => i.Uorg == this.org).id
 							)

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است