Sfoglia il codice sorgente

登录页完善

master
yxq 5 mesi fa
parent
commit
61ac603772
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      monitorMobile/pages/login.vue

+ 2
- 0
monitorMobile/pages/login.vue Vedi File

@@ -83,10 +83,12 @@
methods: {
async login() {
this.$refs.uForm.validate().then(() => {
this.isLoading = true
login({
...this.form,
password: smCrypto.doSm2Encrypt(this.form.password)
}).then(res => {
this.isLoading = false
if (res.code != 200) return
let data = res.data
this.$store.dispatch('setToken', {


Caricamento…
Annulla
Salva