From 2fa578a18ed9055f8cb9863a8a0f02977cfa8350 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期二, 19 十二月 2023 17:33:53 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/page/login/index.vue |   58 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/page/login/index.vue b/src/page/login/index.vue
index eaeeb30..0705f9d 100644
--- a/src/page/login/index.vue
+++ b/src/page/login/index.vue
@@ -74,35 +74,35 @@
   created() {
     this.getSysTitle()
   },
-  mounted() {
-    const _that = this
-    $.ajax({
-      type: 'get',
-      url: 'http://127.0.0.1:15211/LocalUnique',
-      /* headers: {
-                'Content-Type': 'text/xml;charset=utf-8'
-              }, */
-      // data: requireData,
-      success: function(response) {
-        const resultData = JSON.parse(
-          response
-            .replace(/\r/g, '')
-            .replace(/\n/g, '')
-            .replace(/\s*/g, '')
-        )
-        const username = resultData[0].ID
-        const password = resultData[0].Unique
-        _that.$store
-          .dispatch('LoginByMSL', { username: username, password: password })
-          .then(() => {
-            _that.$router.push({ path: _that.tagWel.value })
-          })
-      },
-      error: function(XMLHttpRequest, textStatus, errorThrown) {
-        console.error('璁块棶椹笂鑱婂嚭閿�')
-      }
-    })
-  },
+  // mounted() {
+  //   const _that = this
+  //   $.ajax({
+  //     type: 'get',
+  //     url: 'http://127.0.0.1:15211/LocalUnique',
+  //     /* headers: {
+  //               'Content-Type': 'text/xml;charset=utf-8'
+  //             }, */
+  //     // data: requireData,
+  //     success: function(response) {
+  //       const resultData = JSON.parse(
+  //         response
+  //           .replace(/\r/g, '')
+  //           .replace(/\n/g, '')
+  //           .replace(/\s*/g, '')
+  //       )
+  //       const username = resultData[0].ID
+  //       const password = resultData[0].Unique
+  //       _that.$store
+  //         .dispatch('LoginByMSL', { username: username, password: password })
+  //         .then(() => {
+  //           _that.$router.push({ path: _that.tagWel.value })
+  //         })
+  //     },
+  //     error: function(XMLHttpRequest, textStatus, errorThrown) {
+  //       console.error('璁块棶椹笂鑱婂嚭閿�')
+  //     }
+  //   })
+  // },
   computed: {
     ...mapGetters(['website', 'tagWel'])
   },

--
Gitblit v1.9.3