<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                路由代碼解析: 1.登錄完成后,login.vue跳轉頁面 `this.$router.push({ name: "dashboard" })` 2.此時走了`router.beforeEach` 如果沒有token則調用user.js中的`GetPermissionList` 2.1`queryPermissionsByUser`從數據庫中查詢權限 2.2將查詢結果 為menu的數據保存到`permissionList` 2.3左側菜單在globallayout中取該`permissionList`的數據 3.左側菜單加載方式: 若hidden 則不顯示 若路由菜單 則跳轉name,否則跳轉path 若聚合路由則子菜單不加載 注意:代碼中有一塊修改了permission.js 的addRouters,似乎沒啥用, ![](https://img.kancloud.cn/9a/16/9a1612c796e17110e4a56aea5df57543_1029x358.png) ![](https://img.kancloud.cn/f6/f9/f6f9171514d8655a14b34b7d85cf12ca_864x154.png) 這兩塊很干擾人。vuex,state定義后并沒有什么地方使用。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看