From 6142b8a889661fdbe9303ad0c42e5bc0ebc3131f Mon Sep 17 00:00:00 2001 From: betavs Date: Mon, 20 Jan 2025 00:54:00 +0800 Subject: [PATCH] fix(button): template missing props --- src/calendar/__test__/__snapshots__/index.test.js.snap | 2 +- src/common/template/button.wxml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calendar/__test__/__snapshots__/index.test.js.snap b/src/calendar/__test__/__snapshots__/index.test.js.snap index b4752da8f..1791bf6f9 100644 --- a/src/calendar/__test__/__snapshots__/index.test.js.snap +++ b/src/calendar/__test__/__snapshots__/index.test.js.snap @@ -757,7 +757,7 @@ exports[`calendar :base 1`] = ` appParameter="" ariaLabel="" class="class t-button t-class t-button--base t-button--primary t-button--rectangle t-button--size-medium t-button--block" - data-custom="{{null}}" + data-custom="" formType="" hoverClass="t-button--hover" hoverStartTime="{{20}}" diff --git a/src/common/template/button.wxml b/src/common/template/button.wxml index 9aae79cfb..ed8e8f220 100644 --- a/src/common/template/button.wxml +++ b/src/common/template/button.wxml @@ -1,15 +1,18 @@