Commit 4b3a91623026f45ca1b1823899d118c194612fe8

Authored by fengwotao
1 parent 3327e541

fix(src/views/chart): 修复公共接口下拉选择字数太长,导致隐藏问题

... ... @@ -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 ])
... ...