mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 20:19:16 +08:00
style(接口定义): 修改case返回内容的样式
This commit is contained in:
parent
26936d760d
commit
1df1817063
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-card class="api-component">
|
<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 }" />
|
<i class="icon el-icon-arrow-right" :class="{ 'is-active': isActive }" />
|
||||||
<ms-request-metric :response="response" />
|
<ms-request-metric :response="response" />
|
||||||
</div>
|
</div>
|
||||||
@ -94,6 +94,11 @@ export default {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.header {
|
.header {
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
|
.env-header {
|
||||||
|
height: 60px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user