dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
app部分接口改为post方式提交
zhangnaisong
2024-03-01
bc4aabbf586d71cf6e1f1a26e7f357c9dfe2019a
[~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];
}