diff --git a/console-web/src/views/common/login.vue b/console-web/src/views/common/login.vue index 056af80f..5e8336d2 100644 --- a/console-web/src/views/common/login.vue +++ b/console-web/src/views/common/login.vue @@ -44,7 +44,6 @@ import { getUUID, isGDASucc } from '@/utils' import { storage1 } from '@/utils/storage' import encrypt from '@/utils/encrypt' - import CryptoJS from "crypto-js"; export default { data() { @@ -74,7 +73,7 @@ this.getCaptcha() }, mounted() { - this.getCookie() + this.getData() }, methods: { // 提交表单 @@ -122,10 +121,6 @@ if (this.dataForm.operNo) { this.checked = true } - }, - clearCookie: function() { - // 修改2值都为空,天数为负1天就好了 - this.setCookie('', '', -1) } } }