Sfoglia il codice sorgente

前:iam登录失败提示无权限登录

dubch 4 anni fa
parent
commit
565c1b39c6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/dashoo.cn/frontend_web/src/pages/login.vue

+ 2 - 0
src/dashoo.cn/frontend_web/src/pages/login.vue

@@ -262,6 +262,8 @@ import Base64  from 'base-64'
           window.sessionStorage.setItem('token', res.data.token)
           // Cookies.set('iamCode', iamCode)
           this.$router.push({ path: '/' })
+        } else {
+          this.$message.warning('您无权限登陆本系统')
         }
       }).catch(err => {
         console.error(err)