fix(测试跟踪): 功能用例编辑页右侧字段增加消息提示

--bug=1024039 --user=宋昌昌 【测试跟踪】关联需求,需求名称为超长文本时,显示异常 https://www.tapd.cn/55049933/s/1346449
This commit is contained in:
song-cc-rock 2023-03-07 18:38:31 +08:00 committed by fit2-zhao
parent 39c4b1dfe8
commit ea17848783
2 changed files with 11 additions and 5 deletions

View File

@ -30,7 +30,9 @@
v-if="contentObject.content && contentObject.contentType === 'TEXT'" v-if="contentObject.content && contentObject.contentType === 'TEXT'"
@click="handleReadTextClick" @click="handleReadTextClick"
> >
{{ contentObject.content }} <el-tooltip :content="contentObject.content" placement="top" effect="dark">
<span>{{ contentObject.content }}</span>
</el-tooltip>
</div> </div>
<div <div
class="select" class="select"
@ -40,7 +42,9 @@
@click="handleReadTextClick" @click="handleReadTextClick"
@mouseenter="mouseEnterEvent" @mouseenter="mouseEnterEvent"
> >
{{ contentObject.content }} <el-tooltip :content="contentObject.content" placement="top" effect="dark">
<span>{{ contentObject.content }}</span>
</el-tooltip>
</div> </div>
<div <div
class="tag-wrap" class="tag-wrap"
@ -58,7 +62,9 @@
:key="index" :key="index"
class="tag-row" class="tag-row"
> >
{{ item }} <el-tooltip :content="item" placement="top" effect="dark">
<span>{{ item }}</span>
</el-tooltip>
</div> </div>
</div> </div>
</div> </div>
@ -451,11 +457,12 @@ export default {
} }
.select { .select {
width: 100%; width: 100%;
height: auto; max-height: px2rem(64);
line-height: 32px; line-height: 32px;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #1f2329; color: #1f2329;
overflow-y: hidden;
} }
// .select:hover { // .select:hover {
// background: rgba(31, 35, 41, 0.1); // background: rgba(31, 35, 41, 0.1);

View File

@ -945,7 +945,6 @@ export default {
} }
.side-content { .side-content {
width: px2rem(256); width: px2rem(256);
height: 32px;
:deep(.el-select) { :deep(.el-select) {
width: 100%; width: 100%;
} }