style: 标签最小宽度取消样式
This commit is contained in:
parent
c48b9fb245
commit
44d968e959
|
@ -15,7 +15,7 @@
|
||||||
>
|
>
|
||||||
<slot name="icon"></slot>
|
<slot name="icon"></slot>
|
||||||
<a-tooltip :disabled="props.tooltipDisabled">
|
<a-tooltip :disabled="props.tooltipDisabled">
|
||||||
<div :class="`one-line-text min-w-[20px] ${props.maxWidth || '144px'}`">
|
<div :class="`one-line-text ${props.maxWidth || '144px'}`">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="$slots.tooltipContent" #content>
|
<template v-if="$slots.tooltipContent" #content>
|
||||||
|
|
Loading…
Reference in New Issue