diff --git a/src/main.js b/src/main.js
index c9b3f9956774c4a1d07e09f5ea458826d87ec81c..8502cbdad5cc5f37b57714e7ec411806770f4922 100644
--- a/src/main.js
+++ b/src/main.js
@@ -47,8 +47,8 @@ router.beforeEach((to, from, next) => {
     if (to.path === '/login') {
       next({ path: '/' });
     } else {
-      if (store.getters.roles.length === 0) { // 判断当前用户是否已拉取完info信息
-        store.dispatch('GetInfo').then(res => { // 拉取info
+      if (store.getters.roles.length === 0) { // 判断当前用户是否已拉取完user_info信息
+        store.dispatch('GetInfo').then(res => { // 拉取user_info
           const roles = res.data.role;
           store.dispatch('GenerateRoutes', { roles }).then(() => { // 生成可访问的路由表
             router.addRoutes(store.getters.addRouters) // 动态添加可访问路由表
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index be98a4632a34a610c476e41f30ffdd56c1b9c882..926c89b0fb2a23bb5e97575c56f3767d692f34e3 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -22,7 +22,6 @@ const permission = {
   },
 
   actions: {
-    // s
     GenerateRoutes({ commit }, data) {
       return new Promise(resolve => {
         const { roles } = data;