fix(测试跟踪): 用例责任人展示问题
--bug=1025006 --user=宋昌昌 【测试跟踪】功能用例-修改用例责任人-保存后右侧责任人处显示暂无 https://www.tapd.cn/55049933/s/1358080
This commit is contained in:
parent
343ee3f065
commit
438f8cdf3b
|
@ -9,7 +9,7 @@
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-tooltip v-if="rightButtonEnable" class="item" effect="dark" :content="rightTip" placement="bottom">
|
<el-tooltip v-if="rightButtonEnable" class="item" effect="dark" :content="rightTip" placement="bottom">
|
||||||
<el-button plain :class="{active: rightActive}" style="margin: 3px 3px 3px 0" @click="changeTab('right')">
|
<el-button plain :class="{active: rightActive}" style="margin: 3px 0 3px -2px" @click="changeTab('right')">
|
||||||
<svg-icon :icon-class="rightActive ? rightIconActiveClass : rightIconClass"/>
|
<svg-icon :icon-class="rightActive ? rightIconActiveClass : rightIconClass"/>
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
|
@ -268,8 +268,14 @@ export default {
|
||||||
? this.contentObject.content.value
|
? this.contentObject.content.value
|
||||||
: this.contentObject.content.defaultValue;
|
: this.contentObject.content.defaultValue;
|
||||||
if(!tempValue || Array.isArray(tempValue) && tempValue.length <= 0){
|
if(!tempValue || Array.isArray(tempValue) && tempValue.length <= 0){
|
||||||
this.isCustomNone = true;
|
let customVal = this.model[this.contentObject.content.name];
|
||||||
return this.$t("case.none");
|
if (customVal) {
|
||||||
|
this.isCustomNone = false;
|
||||||
|
tempValue = customVal;
|
||||||
|
} else {
|
||||||
|
this.isCustomNone = true;
|
||||||
|
return this.$t("case.none");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.isCustomNone = false;
|
this.isCustomNone = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,9 +182,9 @@
|
||||||
<div class="split"></div>
|
<div class="split"></div>
|
||||||
<div class="copy-row sub-opt-row" @click="copyRow">
|
<div class="copy-row sub-opt-row" @click="copyRow">
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<img :src="!hasDeletePermission ? '/assets/module/figma/icon_copy_outlined_disable.svg' : '/assets/module/figma/icon_copy_outlined.svg'" alt=""/>
|
<img :src="!hasCopyPermission ? '/assets/module/figma/icon_copy_outlined_disable.svg' : '/assets/module/figma/icon_copy_outlined.svg'" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="title" :style="!hasDeletePermission ? 'color: rgb(187, 187, 187); cursor: not-allowed;' : 'cursor: pointer;'">{{ $t("commons.copy") }}</div>
|
<div class="title" :style="!hasCopyPermission ? 'color: rgb(187, 187, 187); cursor: not-allowed;' : 'cursor: pointer;'">{{ $t("commons.copy") }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="split"></div>
|
<div class="split"></div>
|
||||||
<div class="delete-row sub-opt-row" @click="deleteRow">
|
<div class="delete-row sub-opt-row" @click="deleteRow">
|
||||||
|
|
Loading…
Reference in New Issue