Skip to content

Commit e0c7874

Browse files
committed
【级联选择器】选中项第一个,常显,长度过长的话,...展示
1 parent 56e05fe commit e0c7874

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/c-cascader/demos/multiple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ desc: 多选级联组件
99
import React, { useState } from 'react';
1010
import { CCascader } from 'cloud-react';
1111
const addressOptions = [{
12-
label: '福建',
12+
label: '贵州 - 黔西南布依族苗族自治州',
1313
value: 'fj',
1414
children: [{
1515
label: '福州',

src/components/c-cascader/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ input::-webkit-search-cancel-button {
318318
&-item {
319319
flex: none;
320320
align-self: center;
321-
max-width: 100%;
321+
max-width: 65%;
322322
}
323323

324324
// &-item-suffix {

0 commit comments

Comments
 (0)