\src\views\auth\main-content-bootstrap\user-menu.vue

  handleToIndex(){
      this.$link.toLinkUrl("/", this);
    },
    handleToLogin(){
      this.$link.toLinkUrl("/user/user-login?redirect=/auth/main-content", this);
    },


          <li>
            <a class="dropdown-item" href="javascript:;" @click="handleToIndex"><i
                class="bx bx bx-home-circle"></i><span>首页</span></a>
          </li>

          <li>
            <a class="dropdown-item" href="javascript:;" @click="handleToLogin"><i
                class="bx bx bx-home-circle"></i><span>登录</span></a>
          </li>
文档更新时间: 2022-06-16 11:09   作者:admin