Browse Source

去掉console

master
jianjun 5 years ago
parent
commit
b6c648b81f
  1. 6
      epmet-oper-web/src/views/pages/loginWork.vue

6
epmet-oper-web/src/views/pages/loginWork.vue

@ -197,6 +197,9 @@ export default {
this.getPubKey() this.getPubKey()
} }
}, },
mounted() {
localStorage.removeItem('showHeader');
},
methods: { methods: {
// //
@ -207,7 +210,6 @@ export default {
} }
this.pubKey = res.data; // ; this.pubKey = res.data; // ;
console.log("pubkey", this.pubKey);
}).catch(() => { }).catch(() => {
}) })
}, },
@ -282,9 +284,7 @@ export default {
const url = '/auth/govweb/login' const url = '/auth/govweb/login'
this.dataForm.customerId = row.customerId this.dataForm.customerId = row.customerId
console.log('password pre', this.dataForm.password);
this.dataForm.password = this.encryptedData(this.pubKey, this.dataForm.password); this.dataForm.password = this.encryptedData(this.pubKey, this.dataForm.password);
console.log('password after', this.dataForm.password);
this.$http.post(url, this.dataForm).then(({data: res}) => { this.$http.post(url, this.dataForm).then(({data: res}) => {
if (res.code !== 0) { if (res.code !== 0) {
this.getCaptcha() this.getCaptcha()

Loading…
Cancel
Save