4 Star 1 Fork 1

山东酷马科技 / 上门按摩-用户端

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
uni.promisify.adaptor.js 309 Bytes
Copy Edit Raw Blame History
Yan authored 2024-04-07 13:52 . “初始化”
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]));
});
},
});
1
https://gitee.com/shandong-kuma/home-massage---front-end.git
git@gitee.com:shandong-kuma/home-massage---front-end.git
shandong-kuma
home-massage---front-end
上门按摩-用户端
master

Search