From e4f72d50d7b828c174123b51c384d03a2b2a98ec Mon Sep 17 00:00:00 2001 From: tianjiaxing Date: Fri, 25 Jun 2021 15:12:38 +0800 Subject: [PATCH] chore(uni-api): setClipboardData -> clipboard --- packages/uni-api/src/index.ts | 2 +- .../src/protocols/device/{setClipboardData.ts => clipboard.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/uni-api/src/protocols/device/{setClipboardData.ts => clipboard.ts} (100%) diff --git a/packages/uni-api/src/index.ts b/packages/uni-api/src/index.ts index ec28d9073c..0eb913287b 100644 --- a/packages/uni-api/src/index.ts +++ b/packages/uni-api/src/index.ts @@ -24,7 +24,7 @@ export * from './protocols/context/canvas' export * from './protocols/context/getBackgroundAudioManager' export * from './protocols/device/makePhoneCall' -export * from './protocols/device/setClipboardData' +export * from './protocols/device/clipboard' export * from './protocols/device/accelerometer' export * from './protocols/device/compass' export * from './protocols/device/vibrate' diff --git a/packages/uni-api/src/protocols/device/setClipboardData.ts b/packages/uni-api/src/protocols/device/clipboard.ts similarity index 100% rename from packages/uni-api/src/protocols/device/setClipboardData.ts rename to packages/uni-api/src/protocols/device/clipboard.ts -- GitLab