dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
修复单兵端 - 下发给我的任务列表分页问题
‘liusuyi’
2023-07-31
e7ebe2512258e91e6003467b2f613f8188db6f5d
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
svg-baker-runtime
/
src
/
utils
/
get-url-without-fragment.js
1
2
3
4
5
6
7
/**
* @param {string} [url] If not provided - current URL will be used
* @return {string}
*/
export default function (url) {
return (url || window.location.href).split('#')[0];
}