dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
修复偶尔无法获取二级菜单列表的问题
‘liusuyi’
2023-09-14
e77e69a207dad75e1af2ee60c324306be8a43394
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
p-try
/
index.js
1
2
3
4
5
6
7
8
9
'use strict';
const pTry = (fn, ...arguments_) => new Promise(resolve => {
resolve(fn(...arguments_));
});
module.exports = pTry;
// TODO: remove this in the next major version
module.exports.default = pTry;