From 933ac27e892048617d41bfe5237f2f370e850054 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Tue, 28 Sep 2021 15:04:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20Promise=20=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/README.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docs/api/README.md b/docs/api/README.md index 710a290c7..075e98cd0 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -163,12 +163,6 @@ uni.addInterceptor({ }) } }) - -// 或 - -// 此为框架内部提供 -uni.addInterceptor(uni.interceptors.promiseInterceptor) - ``` #### Vue 3 写法转 Vue 2 写法 @@ -195,12 +189,6 @@ uni.addInterceptor({ .then(() => returnValue) } }) - -// 或 - -// 此为框架内部提供 -uni.addInterceptor(uni.interceptors.promiseInterceptor) - ``` ### API 列表 -- GitLab