dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加账户互踢
‘liusuyi’
2024-01-13
131b6c120db336ca5c2052b877be90ee201614db
[~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];
}