From 64f92889db84ecb3f6643ea60355e7362cab24ef Mon Sep 17 00:00:00 2001 From: alton Date: Sat, 9 Sep 2023 23:17:47 +0800 Subject: [PATCH 1/2] add open data component --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9588529..2cd8253 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tarojs/plugin-platform-alipay-dd", - "version": "0.3.0", + "version": "0.4.0", "description": "钉钉小程序平台插件", "author": "drchan", "homepage": "https://github.com/NervJS/taro-plugin-platform-alipay-dd", From 0b67b596e521f4f9760316f47ef7a259e794a2e6 Mon Sep 17 00:00:00 2001 From: alton Date: Sat, 9 Sep 2023 23:36:52 +0800 Subject: [PATCH 2/2] add open data component --- src/components-react.ts | 1 + src/components.ts | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/components-react.ts b/src/components-react.ts index 3dbdd1c..8791990 100644 --- a/src/components-react.ts +++ b/src/components-react.ts @@ -1,3 +1,4 @@ // For React.createElement's type export * from '@tarojs/plugin-platform-alipay/dist/components-react' export const OpenAvatar = 'open-avatar' +export const OpenData = 'open-data' diff --git a/src/components.ts b/src/components.ts index 551281b..dd0b3a5 100644 --- a/src/components.ts +++ b/src/components.ts @@ -8,5 +8,12 @@ export const components = { 'nickName': '', 'avatar': '', 'size': singleQuote('normal') + }, + OpenData: { + 'openType': '', + 'openId': '', + 'defaultText': '', + 'onError': '', + 'class': '' } }