fix: 修改缺陷状态问题#1006555

--bug=1006555 --user=lyh 【测试计划】无法修改缺陷状态
https://www.tapd.cn/55049933/s/1045944
This commit is contained in:
shiziyuan9527 2021-09-13 15:18:13 +08:00 committed by 刘瑞斌
parent cac4b483b2
commit 2210f0ea19
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
<span v-for="field in issueTemplate.customFields" :key="field.id"> <span v-for="field in issueTemplate.customFields" :key="field.id">
<ms-table-column :field="item" :label="field.name" :prop="field.name" v-if="field.name === '状态'"> <ms-table-column :field="item" :label="field.name" :prop="field.name" v-if="field.name === '状态'">
<template v-slot="scope"> <template v-slot="scope">
<el-dropdown class="test-case-status" @command="statusChange" v-if="isThirdPart" placement="bottom" trigger="click"> <el-dropdown class="test-case-status" @command="statusChange" v-if="scope.row.platform === 'Local'" placement="bottom" trigger="click">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}} {{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
</span> </span>