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

Loading…
Cancel
Save