Commit 4b3a91623026f45ca1b1823899d118c194612fe8
1 parent
3327e541
fix(src/views/chart): 修复公共接口下拉选择字数太长,导致隐藏问题
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -186,7 +186,7 @@ const getHttpType = (httpType:RequestEnum, contentType:number) => { |
186 | 186 | const renderOption = (option: SelectOption) => { |
187 | 187 | const httpType = getHttpType(option?.requestHttpType as RequestEnum, option?.requestContentType as number) |
188 | 188 | const interfaceTypeName = option?.interfaceType === 'SYSTEM' ? '系统默认' :option?.interfaceType === 'CUSTOM'? '自定义':'' |
189 | - return h(NSpace, { justify: 'space-between', style: 'padding: 0 15px; height: 28px; line-height: 28px;' }, () => [ | |
189 | + return h(NSpace, { justify: 'space-between', wrap: false, style: 'padding: 0 15px; height: 28px; line-height: 28px; width:100%' }, () => [ | |
190 | 190 | h(NEllipsis, null, () => `${!httpType?'':httpType+'/'}${interfaceTypeName}`), |
191 | 191 | h(NEllipsis, null, () => option.interfaceName), |
192 | 192 | ]) | ... | ... |