Ver código fonte

[doc]Update for stdf@0.5.2

dufu1991 1 ano atrás
pai
commit
7fa15b53fa

+ 1 - 1
doc/components/button/guide.md

@@ -30,4 +30,4 @@
 
 ## 带图标或加载
 
-通过 iconLoading 参数可以向 Button 组件内容区域前注入图标或加载效果,type 为 icon 时表示图标,loading 时表示加载效果,params 为注入的对应参数,支持传入 Icon 和 Loading 两种组件的 Props。当 type 为 loading 时,按钮默认禁用,可通过 disabledLoading 参数控制。请参考示例。
+通过 icon 参数可以向 Button 组件内容区域前注入图标,参数为 Icon 组件的 Props;通过 loading 参数可以向 Button 组件内容区域前注入加载,参数为 Loading 组件的 Props,当传入 loading 时按钮默认禁用,可通过 disabledLoading 参数控制。请参考示例。

+ 1 - 1
doc/components/button/guide_en.md

@@ -30,4 +30,4 @@ To use the button group, you can directly put multiple elements in the inner slo
 
 ## With icon or loading
 
-Through the iconLoading parameter, you can inject an icon or loading effect into the content area of the Button component. When type is icon, it represents an icon, and loading represents a loading effect. params is the corresponding parameter of the injected, supporting the Props of Icon and Loading two components. When type is loading, the button is disabled by default, which can be controlled by the disabledLoading parameter. Please refer to the example.
+Through the icon parameter, you can inject an icon into the content area of the Button component, the parameter is the Props of the Icon component; through the loading parameter, you can inject a loading into the content area of the Button component, the parameter is the Props of the Loading component. When loading is passed in, the button is disabled by default, which can be controlled by the disabledLoading parameter. Please refer to the example.

+ 4 - 0
doc/components/button/version.md

@@ -13,6 +13,10 @@
 -   [!tag|A|0|]新增。
  -->
 
+## 0.5.2
+
+- [!tag|O|0|]调整 icon 与 loading 参数,使其可同时存在。
+
 ## 0.5.1
 
 - [!tag|A|0|]支持通过传入 iconLoading 参数实现在按钮内容前显示图标或者加载。

+ 4 - 0
doc/components/button/version_en.md

@@ -1,3 +1,7 @@
+## 0.5.2
+
+- [!tag|O|0|]Adjust the icon and loading parameters to allow them to coexist.
+
 ## 0.5.1
 
 - [!tag|A|0|]Support displaying icons or loading before the button content by passing in the iconLoading parameter.

+ 4 - 0
doc/guide/changelog.md

@@ -1,3 +1,7 @@
+## 0.5.2 <font size=1>2024-10-02</font>
+
+- 优化 Button 组件,详见 [Button](https://stdf.design/#/components?nav=button&tab=4)。
+
 ## 0.5.1 <font size=1>2024-10-02</font>
 
 - 增强 Button 组件,详见 [Button](https://stdf.design/#/components?nav=button&tab=4)。

+ 4 - 0
doc/guide/changelog_en.md

@@ -1,3 +1,7 @@
+## 0.5.2 <font size=1>2024-10-02</font>
+
+- Optimized Button component, please see [Button](https://stdf.design/#/components?nav=button&tab=4).
+
 ## 0.5.1 <font size=1>2024-10-02</font>
 
 - Optimized Button component, please see [Button](https://stdf.design/#/components?nav=button&tab=4).