promise_lzq
v1.0.1
Published
<!-- * @Author: your name * @Date: 2022-03-06 14:50:35 * @LastEditTime: 2022-03-06 14:51:43 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE *
Downloads
6
Readme
下载
mpm i promise_lzq -D
基本使用
promDir('a.js').then((res) => {
console.log(res, '我成功了');
}).catch((err) => {
console.log(err, '我失败了');
})