提交 569e37af 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 更新表单项title hover显示范围

上级 474cf337
......@@ -51,7 +51,7 @@ export default defineComponent({
>
<div class={[this.ns.b('content')]}>
{this.labelPos === 'LEFT' || this.labelPos === 'TOP' ? (
<div class={[this.ns.e('label')]} title={this.label}>
<div class={[this.ns.e('label')]}>
{this.inputTip && (
<i-tooltip
content={this.inputTip}
......@@ -61,13 +61,15 @@ export default defineComponent({
<i-icon type='ios-help-circle-outline' />
</i-tooltip>
)}
<span class={[this.ns.em('label', 'text')]}>{this.label}</span>
<span class={[this.ns.em('label', 'text')]} title={this.label}>
{this.label}
</span>
</div>
) : null}
<div class={[this.ns.e('editor')]}>{this.$slots.default}</div>
{this.labelPos === 'RIGHT' || this.labelPos === 'BOTTOM' ? (
<div class={[this.ns.e('label')]} title={this.label}>
<div class={[this.ns.e('label')]}>
{this.inputTip && (
<i-tooltip
content={this.inputTip}
......@@ -77,7 +79,9 @@ export default defineComponent({
<i-icon type='ios-help-circle-outline' />
</i-tooltip>
)}
<span class={[this.ns.em('label', 'text')]}>{this.label}</span>
<span class={[this.ns.em('label', 'text')]} title={this.label}>
{this.label}
</span>
</div>
) : null}
</div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册