feat: update

This commit is contained in:
Fine 2024-01-12 11:11:30 +08:00
parent 62b3692ee3
commit 54735d3466

View File

@ -98,12 +98,13 @@ limitations under the License. -->
{{ t("rename") }} {{ t("rename") }}
</el-button> </el-button>
<el-button <el-button
:disabled="![EntityType[0].value, EntityType[3].value].includes(scope.row.entity)" v-if="[EntityType[0].value, EntityType[3].value].includes(scope.row.entity)"
size="small" size="small"
@click="handleEditMQE(scope.row)" @click="handleEditMQE(scope.row)"
> >
MQE MQE
</el-button> </el-button>
<span v-else class="placeholder"> -- </span>
<el-popconfirm :title="t('deleteTitle')" @confirm="handleDelete(scope.row)"> <el-popconfirm :title="t('deleteTitle')" @confirm="handleDelete(scope.row)">
<template #reference> <template #reference>
<el-button size="small" type="danger"> <el-button size="small" type="danger">
@ -720,6 +721,11 @@ limitations under the License. -->
margin-left: 10px; margin-left: 10px;
} }
.placeholder {
display: inline-block;
width: 75px;
}
.expressions { .expressions {
height: 300px; height: 300px;
} }