dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加融云token接口
‘liusuyi’
2023-07-15
29f21c70e977baf0bc2c4a2c37ba3096292c1388
[~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];
}