1 Star 13 Fork 5

默然/默然云后台前端源码---uniapp

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
uni.promisify.adaptor.js 309 Bytes
Copy Edit Raw Blame History
默然 authored 2024-01-16 21:07 . 1
uni.addInterceptor({
returnValue (res) {
if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) {
return res;
}
return new Promise((resolve, reject) => {
res.then((res) => res[0] ? reject(res[0]) : resolve(res[1]));
});
},
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/morannb/new-version-of-uniapp.git
git@gitee.com:morannb/new-version-of-uniapp.git
morannb
new-version-of-uniapp
默然云后台前端源码---uniapp
master

Search