From 2a14ab09cd556bbd724dd61b3f2427ccc0fe2aae Mon Sep 17 00:00:00 2001 From: Gweesin Chan <42909374+gweesin@users.noreply.github.com> Date: Wed, 12 Mar 2025 09:20:38 +0800 Subject: [PATCH] fix(input): [input] fix size attr with opposite description (#3064) * fix(input): fix size attr with opposite description * fix(input): correct size attribute description for input types --- examples/sites/demos/apis/input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sites/demos/apis/input.js b/examples/sites/demos/apis/input.js index 79336c28e..43ff9cd50 100644 --- a/examples/sites/demos/apis/input.js +++ b/examples/sites/demos/apis/input.js @@ -365,8 +365,8 @@ export default { type: "'medium' | 'small' | 'mini'", defaultValue: '', desc: { - 'zh-CN': '输入框尺寸,只在 type 为 "textarea" 时有效', - 'en-US': 'Size of the text box. This parameter is valid only when type!="textarea". ' + 'zh-CN': '输入框尺寸,只在 type 不为 "textarea" 时有效', + 'en-US': 'Input box size, only valid when type is not "textarea"' }, mode: ['pc', 'mobile-first'], pcDemo: 'size',