From d9152b64e1a5530af46ed07cd6224f00d8ab79ce Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Sun, 25 Apr 2021 20:53:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(weapp):=20=E5=BE=AE=E4=BF=A1=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20on/offCopyUrl=20API=EF=BC=8Cfix=20#9095?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-weapp/src/apis-list.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/taro-weapp/src/apis-list.ts b/packages/taro-weapp/src/apis-list.ts index 87a89115f410..8ea8d9b9a6b3 100644 --- a/packages/taro-weapp/src/apis-list.ts +++ b/packages/taro-weapp/src/apis-list.ts @@ -66,7 +66,9 @@ export const noPromiseApis = new Set([ 'onBLEConnectionStateChange', 'onBLECharacteristicValueChange', 'offBLEConnectionStateChange', - 'offBLECharacteristicValueChange' + 'offBLECharacteristicValueChange', + 'onCopyUrl', + 'offCopyUrl' ]) export const needPromiseApis = new Set([