style(接口定义): 修改case返回内容的样式

This commit is contained in:
wxg0103 2023-01-10 11:48:35 +08:00 committed by wxg0103
parent 26936d760d
commit 1df1817063
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<el-card class="api-component">
<div class="header" @click="active">
<div :class="[response && response.envName && response.poolName ? 'env-header' : 'header']" @click="active">
<i class="icon el-icon-arrow-right" :class="{ 'is-active': isActive }" />
<ms-request-metric :response="response" />
</div>
@ -94,6 +94,11 @@ export default {
<style scoped>
.header {
height: 30px;
line-height: 30px;
}
.env-header {
height: 60px;
line-height: 30px;
}