From e2feb34a33953dc44219c79a3329dfd29142662c Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 22 九月 2023 17:08:04 +0800
Subject: [PATCH] 完整单点登录测试-已完成

---
 Source/UBCS-WEB/src/page/login/index.vue |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/Source/UBCS-WEB/src/page/login/index.vue b/Source/UBCS-WEB/src/page/login/index.vue
index 576ec66..efca008 100644
--- a/Source/UBCS-WEB/src/page/login/index.vue
+++ b/Source/UBCS-WEB/src/page/login/index.vue
@@ -21,12 +21,6 @@
           </h4>
           <userLogin v-if="activeName==='user'"></userLogin>
           <thirdLogin v-else-if="activeName==='third'"></thirdLogin>
-<!--          <div class="login-menu">-->
-<!--            <a href="#" @click.stop="activeName='user'">{{ $t('login.userLogin') }}</a>-->
-<!--            <a href="#" @click.stop="activeName='code'">{{ $t('login.phoneLogin') }}</a>-->
-<!--            <a href="#" @click.stop="activeName='third'">{{ $t('login.thirdLogin') }}</a>-->
-<!--            <a :href="website.ssoUrl + website.redirectUri">{{ $t('login.ssoLogin') }}</a>-->
-<!--          </div>-->
         </div>
 
       </div>
@@ -43,9 +37,6 @@
   import topColor from "@/page/index/top/top-color";
   import {getQueryString, getTopUrl} from "@/util/util";
   import "@/styles/login.scss";
-  //瑙e瘑js搴�
-  import CryptoJS from 'crypto-js';
-  import AES from 'crypto-js/aes';
   export default {
     name: "login",
     components: {
@@ -74,7 +65,6 @@
     created() {
       this.handleLogin();
       this.getTime();
-      this.getPassword()
     },
     mounted() {
     },
@@ -83,14 +73,6 @@
     },
     props: [],
     methods: {
-      getPassword(){
-        const plaintext = 'Hello, World!';
-        const key = 'This is a secret key';
-        const encrypted = AES.encrypt(plaintext, key).toString();
-        console.log('鍔犲瘑鍚庣殑鏁版嵁锛�', encrypted);
-        const decrypted = AES.decrypt(encrypted, key).toString(CryptoJS.enc.Utf8);
-        console.log('瑙e瘑鍚庣殑鏁版嵁锛�', decrypted);
-      },
       getTime() {
         setInterval(() => {
           this.time = dateFormat(new Date());

--
Gitblit v1.9.3