lsc 4 tháng trước cách đây
mục cha
commit
a8b9238045
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/store/modules/user.js

+ 4 - 0
src/store/modules/user.js

@@ -65,6 +65,10 @@ const actions = {
             setToken(_user.userid);
             resolve(_user.userid);
           } else {
+            this.$message({
+              message: "该用户ID不允许登录",
+              type: "error"
+            });
             reject("该用户ID不允许登录");
             dispatch('logout');
           }