Sign in

nx / creditNx · Commits

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 1,592
  • Compare
  • Branches 1
  • Tags 0
f74454b61a8f0050b1cdcfbf0c46b7c572c46e81
  • creditNx
  • ruoyi-ui
  • src
  • permission.js
24 Oct, 2023
1 commit
  • update ruoyi-ui/src/permission.js. ...
    76205588
    Signed-off-by: 也曾为你像超人 <1553592282@qq.com>
    也曾为你像超人 authored
    2 years ago  
    Browse Code »

22 Aug, 2023
1 commit
  • update ruoyi-ui/src/permission.js. ...
    16d8b71e
    由于重定向url存在 http://xxx.xx.xxx/{id}?param={a}&name={b} 的场景, 当未登录访问时, 通过改js封装登录后重定向参数, 会丢失?后的query params
    如:
    访问 http://localhost:1024/core/doc/doc?id=1683734914907807745&version=31
    期望 http://localhost:1024/login?redirect=%2Fcore%2Fdoc%2Fdoc%3Fid%3D1683734914907807745%26version%3D31
    实际通过 to.fullPath 封装后 获得 http://localhost:1024/login?redirect=%2Fcore%2Fdoc%2Fdoc%3Fid%3D1683734914907807745&version=31
    
    登录成功跳转到重定向参数url后, 导致version参数丢失.
    需要对 to.fullPath 进行一次编码, 以保证重定向前 to.fullPath 的完整性.
    通过 ${encodeURIComponent(to.fullPath)} 获得 http://localhost:1024/login?redirect=%2Fcore%2Fdoc%2Fdoc%3Fid%3D1683734914907807745%26version%3D31 完整url
    
    
    
    Signed-off-by: who's hu <hup_dev@outlook.com>
    who's hu authored
    2 years ago  
    Browse Code »

04 Feb, 2023
1 commit
  • update copyright 2023
    c3d0cd5f
    RuoYi authored
    2 years ago  
    Browse Code »

17 Feb, 2022
1 commit
  • 修改登录超时刷新页面跳转登录页面还提示重新登录问题
    e7931380
    积硅步,至千里 authored
    3 years ago  
    Browse Code »

10 Jun, 2021
1 commit
  • 系统布局配置支持动态标题开关
    557672ba
    RuoYi authored
    4 years ago  
    Browse Code »

07 Mar, 2021
1 commit
  • 删除多余的代码
    61432480
    RuoYi authored
    4 years ago  
    Browse Code »

15 Dec, 2020
1 commit
  • 登录后push添加catch防止出现检查错误
    4f33da2a
    RuoYi authored
    5 years ago  
    Browse Code »

04 Jun, 2020
1 commit
  • update ruoyi-ui/src/permission.js. ...
    ef5adf2e
    修复退出登录重定向到登录页,登录后参数丢失。/article?id=6
    
    https://github.com/elunez/eladmin-web/pull/94
    Elune authored
    5 years ago  
    Browse Code »

08 Oct, 2019
1 commit
  • RuoYi-Vue 1.0
    46444bd0
    RuoYi authored
    6 years ago  
    Browse Code »