郎学彬 пре 3 година
родитељ
комит
4ae186a590
1 измењених фајлова са 17 додато и 17 уклоњено
  1. 17 17
      front-vue/src/views/login.vue

+ 17 - 17
front-vue/src/views/login.vue

@@ -140,23 +140,23 @@ export default {
             };
         },
         // 查询域名
-        getlistDomain() {
-            var sscDomain = document.location.hostname;
-            this.loginForm.sscDomain = document.location.hostname;
-            listSscDomain(sscDomain).then(response => {
-            if(response && response.data.lenth > 0){
-            const sscConfig = response.data[0].sscConfig;
-            const companyId = response.data[0].sscCompanyId;
-            console.log(companyId)
-            const imgForm = JSON.parse(sscConfig);
-            if(imgForm){
-            this.BackgroundImg = imgForm.BackgroundImg;
-            this.logo = imgForm.logo;
-            }
-            console.log(this.logo)
-            }
-      });
-        },
+    //     getlistDomain() {
+    //         var sscDomain = document.location.hostname;
+    //         this.loginForm.sscDomain = document.location.hostname;
+    //         listSscDomain(sscDomain).then(response => {
+    //         if(response && response.data.lenth > 0){
+    //         const sscConfig = response.data[0].sscConfig;
+    //         const companyId = response.data[0].sscCompanyId;
+    //         console.log(companyId)
+    //         const imgForm = JSON.parse(sscConfig);
+    //         if(imgForm){
+    //         this.BackgroundImg = imgForm.BackgroundImg;
+    //         this.logo = imgForm.logo;
+    //         }
+    //         console.log(this.logo)
+    //         }
+    //   });
+    //     },
 
         handleLogin() {
             this.$refs.loginForm.validate((valid) => {