Skip to content

Commit 8f424d9

Browse files
docs(select): update show-limit-text docs (#3933)
1 parent 9542c37 commit 8f424d9

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

examples/sites/demos/apis/base-select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,9 @@ export default {
598598
defaultValue: 'false',
599599
desc: {
600600
'zh-CN':
601-
'是否展示多选框开启多选限制选择数量时,选中条数和限制总条数的占比的文字提示。 该属性的优先级大于<code>show-proportion</code> 属性,同时设置只',
601+
'是否展示多选框开启多选限制选择数量时,选中条数和限制总条数的占比的文字提示。 该属性的优先级大于<code>show-proportion</code> 属性',
602602
'en-US':
603-
'Display the proportion of the number of selected items and the total number of items in the multiple-choice box'
603+
'Display the proportion of the number of selected items and the maximum number of options available in the multiple-choice box. This attribute has a higher priority than the <code>show-proportion</code> attribute.'
604604
},
605605
mode: ['pc'],
606606
pcDemo: 'multiple'

examples/sites/demos/apis/select-wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ export default {
680680
'zh-CN':
681681
'是否展示多选框开启多选限制选择数量时,选中条数和限制总条数的占比的文字提示。 该属性的优先级大于<code>show-proportion</code> 属性。',
682682
'en-US':
683-
'Display the proportion of the number of selected items and the total number of items in the multiple-choice box'
683+
'Display the proportion of the number of selected items and the maximum number of options available in the multiple-choice box. This attribute has a higher priority than the <code>show-proportion</code> attribute.'
684684
},
685685
mode: ['pc'],
686686
pcDemo: 'multiple'

examples/sites/demos/apis/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ export default {
690690
'zh-CN':
691691
'是否展示多选框开启多选限制选择数量时,选中条数和限制总条数的占比的文字提示。 该属性的优先级大于<code>show-proportion</code> 属性。',
692692
'en-US':
693-
'Display the proportion of the number of selected items and the total number of items in the multiple-choice box'
693+
'Display the proportion of the number of selected items and the maximum number of options available in the multiple-choice box. This attribute has a higher priority than the <code>show-proportion</code> attribute.'
694694
},
695695
mode: ['pc'],
696696
pcDemo: 'multiple',

examples/sites/demos/mobile-first/app/base-select/webdoc/base-select.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export default {
2828
'zh-CN': `
2929
通过 <code>multiple</code> 属性启用多选功能,此时 <code>v-model</code> 的值为当前选中值所组成的数组。默认选中值会以标签(Tag 组件)展示。<br>
3030
通过 <code>multiple-limit</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31-
通过 <code>show-limit-text</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31+
设置 <code>show-limit-text</code> 可展示选中条数和限制总条数的占比,默认为 false 不展示。<br>
3232
多选时,通过给 option 标签配置 <code>required</code> 或者在 options 配置项中添加 <code>required</code> 属性,来设置必选选项。<br>
3333
通过 <code>dropdown-icon</code> 属性可自定义下拉图标,<code>drop-style</code> 属性可自定义下拉选项样式。<br>
3434
`,
3535
'en-US': `
3636
Use the <code>multiple</code> attribute to enable the multi-selection function. In this case, the value of <code>v-model</code> is an array of selected values. By default, the selected value is displayed as a tag (Tag component).<br>
37-
The <code>multiple-limit</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0.
38-
The <code>show-limit-text</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0, which is not limited.<br>
37+
The <code>multiple-limit</code> attribute is used to limit the maximum number of options available. The default value is 0.
38+
Set <code>show-limit-text</code> to display the proportion of the number of selected items and the maximum number of options available. The default value is false.
3939
When multiple options are selected, you can set <code>required</code> for the option tag or add the <code>required</code> attribute to the options configuration item to set mandatory options.<br>
4040
You can use the <code>dropdown-icon</code> attribute to customize the drop-down icon, and the <code>drop-style</code> attribute to customize the style of the drop-down options.<br>
4141
`

examples/sites/demos/mobile-first/app/select-wrapper/webdoc/select-wrapper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export default {
2828
'zh-CN': `
2929
通过 <code>multiple</code> 属性启用多选功能,此时 <code>v-model</code> 的值为当前选中值所组成的数组。默认选中值会以标签(Tag 组件)展示。<br>
3030
通过 <code>multiple-limit</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31-
通过 <code>show-limit-text</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31+
设置 <code>show-limit-text</code> 可展示选中条数和限制总条数的占比,默认为 false 不展示。<br>
3232
多选时,通过给 option 标签配置 <code>required</code> 或者在 options 配置项中添加 <code>required</code> 属性,来设置必选选项。<br>
3333
通过 <code>dropdown-icon</code> 属性可自定义下拉图标,<code>drop-style</code> 属性可自定义下拉选项样式。<br>
3434
`,
3535
'en-US': `
3636
Use the <code>multiple</code> attribute to enable the multi-selection function. In this case, the value of <code>v-model</code> is an array of selected values. By default, the selected value is displayed as a tag (Tag component).<br>
37-
The <code>multiple-limit</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0.
38-
The <code>show-limit-text</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0, which is not limited.<br>
37+
The <code>multiple-limit</code> attribute is used to limit the maximum number of options available. The default value is 0.
38+
Set <code>show-limit-text</code> to display the proportion of the number of selected items and the maximum number of options available. The default value is false.
3939
When multiple options are selected, you can set <code>required</code> for the option tag or add the <code>required</code> attribute to the options configuration item to set mandatory options.<br>
4040
You can use the <code>dropdown-icon</code> attribute to customize the drop-down icon, and the <code>drop-style</code> attribute to customize the style of the drop-down options.<br>
4141
`

examples/sites/demos/pc/app/base-select/webdoc/base-select.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export default {
2828
'zh-CN': `
2929
通过 <code>multiple</code> 属性启用多选功能,此时 <code>v-model</code> 的值为当前选中值所组成的数组。默认选中值会以标签(Tag 组件)展示。<br>
3030
通过 <code>multiple-limit</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31-
通过 <code>show-limit-text</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31+
设置 <code>show-limit-text</code> 可展示选中条数和限制总条数的占比,默认为 false 不展示。<br>
3232
多选时,通过给 option 标签配置 <code>required</code> 或者在 options 配置项中添加 <code>required</code> 属性,来设置必选选项。<br>
3333
通过 <code>dropdown-icon</code> 属性可自定义下拉图标,<code>drop-style</code> 属性可自定义下拉选项样式。<br>
3434
`,
3535
'en-US': `
3636
Use the <code>multiple</code> attribute to enable the multi-selection function. In this case, the value of <code>v-model</code> is an array of selected values. By default, the selected value is displayed as a tag (Tag component).<br>
37-
The <code>multiple-limit</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0.
38-
The <code>show-limit-text</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0, which is not limited.<br>
37+
The <code>multiple-limit</code> attribute is used to limit the maximum number of options available. The default value is 0.
38+
Set <code>show-limit-text</code> to display the proportion of the number of selected items and the maximum number of options available. The default value is false.
3939
When multiple options are selected, you can set <code>required</code> for the option tag or add the <code>required</code> attribute to the options configuration item to set mandatory options.<br>
4040
You can use the <code>dropdown-icon</code> attribute to customize the drop-down icon, and the <code>drop-style</code> attribute to customize the style of the drop-down options.<br>
4141
`

examples/sites/demos/pc/app/select-wrapper/webdoc/select-wrapper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export default {
2828
'zh-CN': `
2929
通过 <code>multiple</code> 属性启用多选功能,此时 <code>v-model</code> 的值为当前选中值所组成的数组。默认选中值会以标签(Tag 组件)展示。<br>
3030
通过 <code>multiple-limit</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31-
通过 <code>show-limit-text</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31+
设置 <code>show-limit-text</code> 可展示选中条数和限制总条数的占比,默认为 false 不展示。<br>
3232
多选时,通过给 option 标签配置 <code>required</code> 或者在 options 配置项中添加 <code>required</code> 属性,来设置必选选项。<br>
3333
通过 <code>dropdown-icon</code> 属性可自定义下拉图标,<code>drop-style</code> 属性可自定义下拉选项样式。<br>
3434
`,
3535
'en-US': `
3636
Use the <code>multiple</code> attribute to enable the multi-selection function. In this case, the value of <code>v-model</code> is an array of selected values. By default, the selected value is displayed as a tag (Tag component).<br>
37-
The <code>multiple-limit</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0.
38-
The <code>show-limit-text</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0, which is not limited.<br>
37+
The <code>multiple-limit</code> attribute is used to limit the maximum number of options available. The default value is 0.
38+
Set <code>show-limit-text</code> to display the proportion of the number of selected items and the maximum number of options available. The default value is false.
3939
When multiple options are selected, you can set <code>required</code> for the option tag or add the <code>required</code> attribute to the options configuration item to set mandatory options.<br>
4040
You can use the <code>dropdown-icon</code> attribute to customize the drop-down icon, and the <code>drop-style</code> attribute to customize the style of the drop-down options.<br>
4141
`

examples/sites/demos/pc/app/select/webdoc/select.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export default {
2828
'zh-CN': `
2929
通过 <code>multiple</code> 属性启用多选功能,此时 <code>v-model</code> 的值为当前选中值所组成的数组。默认选中值会以标签(Tag 组件)展示。<br>
3030
通过 <code>multiple-limit</code> 属性限制最多可选择的个数,默认为 0 不限制。<br>
31-
通过 <code>show-limit-text</code> 属性限制最多可选择的个数,默认为 flase 不限制,非saas属性<br>
31+
设置 <code>show-limit-text</code> 可展示选中条数和限制总条数的占比,默认为 false 不展示,非saas属性<br>
3232
多选时,通过给 option 标签配置 <code>required</code> 或者在 options 配置项中添加 <code>required</code> 属性,来设置必选选项。<br>
3333
通过 <code>dropdown-icon</code> 属性可自定义下拉图标,<code>drop-style</code> 属性可自定义下拉选项样式。<br>
3434
`,
3535
'en-US': `
3636
Use the <code>multiple</code> attribute to enable the multi-selection function. In this case, the value of <code>v-model</code> is an array of selected values. By default, the selected value is displayed as a tag (Tag component).<br>
37-
The <code>multiple-limit</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0.
38-
The <code>show-limit-text</code> attribute is used to limit the maximum number of users that can be selected. The default value is 0, which is not limited.<br>
37+
The <code>multiple-limit</code> attribute is used to limit the maximum number of options available. The default value is 0.
38+
Set <code>show-limit-text</code> to display the proportion of the number of selected items and the maximum number of options available. The default value is false.
3939
When multiple options are selected, you can set <code>required</code> for the option tag or add the <code>required</code> attribute to the options configuration item to set mandatory options.<br>
4040
You can use the <code>dropdown-icon</code> attribute to customize the drop-down icon, and the <code>drop-style</code> attribute to customize the style of the drop-down options.<br>
4141
`

0 commit comments

Comments
 (0)