From ea631a81a3830b7e85533e046ca141837fcc604c Mon Sep 17 00:00:00 2001
From: johnsonwong666 <64689255+johnsonwong666@users.noreply.github.com>
Date: Fri, 25 Aug 2023 18:02:08 +0800
Subject: [PATCH] feat(button): add button-id prop support (#5529)
---
packages/button/README.md | 1 +
packages/button/index.wxml | 2 +-
packages/dialog/README.md | 1 +
packages/dialog/index.wxml | 2 +-
packages/goods-action-button/index.wxml | 1 +
packages/goods-action/README.md | 1 +
packages/mixins/button.ts | 1 +
7 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/packages/button/README.md b/packages/button/README.md
index 79a8d737..daf2b7ff 100644
--- a/packages/button/README.md
+++ b/packages/button/README.md
@@ -120,6 +120,7 @@
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| id | 标识符 | _string_ | - |
+| button-id `v1.10.25`| 标识符,作为原生button组件的id值 | _string_ | - |
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | _string_ | `default` |
| size | 按钮尺寸,可选值为 `normal` `large` `small` `mini` | _string_ | `normal` |
| color `v1.0.0` | 按钮颜色,支持传入`linear-gradient`渐变色 | _string_ | - |
diff --git a/packages/button/index.wxml b/packages/button/index.wxml
index bfe8bce8..e7f60f19 100644
--- a/packages/button/index.wxml
+++ b/packages/button/index.wxml
@@ -2,7 +2,7 @@