You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/sites/demos/apis/select.js
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ export default {
16
16
},
17
17
mode: ['pc','mobile-first'],
18
18
pcDemo: 'all-text',
19
-
mfDemo: 'all-text'
19
+
mfDemo: 'all-text',
20
+
hideSaas: true
20
21
},
21
22
{
22
23
name: 'show-all-text-tag',
@@ -29,7 +30,8 @@ export default {
29
30
'Specifies whether only the tag specified by all-text is displayed in the text box after the multi-select mode is specified. The default value is <code>false</code>. All options are displayed in the text box cyclically.'
30
31
},
31
32
mode: ['pc'],
32
-
pcDemo: 'all-text'
33
+
pcDemo: 'all-text',
34
+
hideSaas: true
33
35
},
34
36
{
35
37
name: 'allow-copy',
@@ -93,7 +95,8 @@ export default {
93
95
},
94
96
mode: ['pc','mobile-first'],
95
97
pcDemo: 'clear-no-match-value',
96
-
mfDemo: 'clear-no-match-value'
98
+
mfDemo: 'clear-no-match-value',
99
+
hideSaas: true
97
100
},
98
101
{
99
102
name: 'clearable',
@@ -236,7 +239,8 @@ export default {
236
239
},
237
240
mode: ['pc','mobile-first'],
238
241
pcDemo: 'input-box-type',
239
-
mfDemo: 'input-box-type'
242
+
mfDemo: 'input-box-type',
243
+
hideSaas: true
240
244
},
241
245
{
242
246
name: 'is-drop-inherit-width',
@@ -285,7 +289,8 @@ export default {
285
289
'Default maximum display lines for multiple lines, with automatic hiding option for exceeding lines'
286
290
},
287
291
mode: ['pc'],
288
-
pcDemo: 'collapse-tags'
292
+
pcDemo: 'collapse-tags',
293
+
hideSaas: true
289
294
},
290
295
{
291
296
name: 'modelValue / v-model',
@@ -507,7 +512,8 @@ export default {
507
512
},
508
513
mode: ['pc','mobile-first'],
509
514
pcDemo: 'searchable',
510
-
mfDemo: 'searchable'
515
+
mfDemo: 'searchable',
516
+
hideSaas: true
511
517
},
512
518
{
513
519
name: 'show-alloption',
@@ -531,7 +537,8 @@ export default {
531
537
},
532
538
mode: ['pc','mobile-first'],
533
539
pcDemo: 'no-data-text',
534
-
mfDemo: 'no-data-text'
540
+
mfDemo: 'no-data-text',
541
+
hideSaas: true
535
542
},
536
543
{
537
544
name: 'size',
@@ -568,7 +575,8 @@ export default {
568
575
},
569
576
mode: ['pc','mobile-first'],
570
577
pcDemo: 'tag-type',
571
-
mfDemo: 'tag-type'
578
+
mfDemo: 'tag-type',
579
+
hideSaas: true
572
580
},
573
581
{
574
582
name: 'max-tag-width',
@@ -582,7 +590,8 @@ export default {
582
590
pcDemo: '',
583
591
meta: {
584
592
stable: '3.22.0'
585
-
}
593
+
},
594
+
hideSaas: true
586
595
},
587
596
{
588
597
name: 'text-field',
@@ -670,7 +679,8 @@ export default {
670
679
},
671
680
mode: ['pc','mobile-first'],
672
681
pcDemo: 'collapse-tags',
673
-
mfDemo: 'collapse-tags'
682
+
mfDemo: 'collapse-tags',
683
+
hideSaas: true
674
684
},
675
685
{
676
686
name: 'show-limit-text',
@@ -683,7 +693,8 @@ export default {
683
693
'Display the proportion of the number of selected items and the total number of items in the multiple-choice box'
'<p>When multiple options are selected through the <code>collapse-tags</code> attribute settings, multiple tags are displayed in a thumbnail. Set <code>show-proportion</code> to display the current number of selected items and the proportion of total items, with a default value of <code>false</code> . By setting <code>hover-expand</code> to <code>true</code> , the tags are collapsed by default, and all tags are displayed when hovering. If the content of the tag is too long, it should be omitted. When hovering the tag, a <code>tooltip</code> should be displayed</p>'
56
56
},
@@ -86,7 +86,8 @@ export default {
86
86
'en-US':
87
87
'<p>Set the label type through the <code>tag-type</code> attribute, which is the same as the type attribute of the Tag component. Optional values: success/info/warning/danger.</p>\n'
88
88
},
89
-
codeFiles: ['tag-type.vue']
89
+
codeFiles: ['tag-type.vue'],
90
+
hideSaas: true
90
91
},
91
92
{
92
93
demoId: 'size',
@@ -178,7 +179,8 @@ export default {
178
179
'en-US':
179
180
'<p>The search box is displayed through the <code>searchable</code> attribute setting drop-down panel, which is not displayed by default. </p>\n'
180
181
},
181
-
codeFiles: ['searchable.vue']
182
+
codeFiles: ['searchable.vue'],
183
+
hideSaas: true
182
184
},
183
185
{
184
186
demoId: 'allow-create',
@@ -232,7 +234,8 @@ export default {
232
234
'en-US':
233
235
'The <p>Set the input box type through the <code>input-box-type</code> attribute. Optional values: input / underline. </p>\n'
234
236
},
235
-
codeFiles: ['input-box-type.vue']
237
+
codeFiles: ['input-box-type.vue'],
238
+
hideSaas: true
236
239
},
237
240
{
238
241
demoId: 'show-alloption',
@@ -259,7 +262,8 @@ export default {
259
262
'en-US':
260
263
'<p>By setting the value of the v-model through the <code>clear-no-match-value</code>attribute, if a matching value cannot be found in the options, it will be automatically cleared and will not be cleared by default.</p>\n'
'<p>By setting the<code>no-data-text</code> attribute to display text when the option is empty, and by setting the <code>show-empty-image</code> attribute to display empty data images, it is not displayed by default.</p>\n'
357
361
},
@@ -616,7 +620,8 @@ export default {
616
620
'zh-CN': '<p>通过 <code>reference</code> 插槽自定义触发源的 HTML 模板。</p>\n',
617
621
'en-US': '<p>Customize the HTML template of the trigger source through the <code>reference</code> slot.</p>'
618
622
},
619
-
codeFiles: ['slot-reference.vue']
623
+
codeFiles: ['slot-reference.vue'],
624
+
hideSaas: true
620
625
},
621
626
{
622
627
demoId: 'slot-label',
@@ -647,7 +652,8 @@ export default {
647
652
If <code>show-all-text-tag</code> is set to <code>true</code> and all is selected, only the tag specified by <code>all-text</code> is displayed in the text box. The default value is <code>false</code>.
0 commit comments