fix trace

This commit is contained in:
Qiuxia Fan 2022-03-21 19:19:44 +08:00
parent 31f3b45665
commit 7df1e9dc92

View File

@ -14,13 +14,18 @@ See the License for the specific language governing permissions and
limitations under the License. --> limitations under the License. -->
<template> <template>
<div class="trace-wrapper flex-v"> <div class="trace-wrapper flex-v">
<el-popover placement="bottom" trigger="click" :width="100"> <el-popover
placement="bottom"
trigger="click"
:width="100"
v-if="dashboardStore.editMode"
>
<template #reference> <template #reference>
<span class="delete cp"> <span class="delete cp">
<Icon iconName="ellipsis_v" size="middle" class="operation" /> <Icon iconName="ellipsis_v" size="middle" class="operation" />
</span> </span>
</template> </template>
<div class="tools" @click="removeWidget" v-if="dashboardStore.editMode"> <div class="tools" @click="removeWidget">
<span>{{ t("delete") }}</span> <span>{{ t("delete") }}</span>
</div> </div>
</el-popover> </el-popover>