dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
处理连接失败异常
zhangjian
2023-08-19
3940ebf3e39da287974c4f49474e668d33fed2df
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
strict-uri-encode
/
index.js
1
2
3
4
5
6
'use strict';
module.exports = function (str) {
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
return '%' + c.charCodeAt(0).toString(16).toUpperCase();
});
};