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
/
svg-baker
/
node_modules
/
strip-ansi
/
index.js
1
2
3
4
5
6
'use strict';
var ansiRegex = require('ansi-regex')();
module.exports = function (str) {
return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
};