refactor(接口测试): 修复sql协议前后置sql运行环境配置环境按钮和环境列表数据未对齐 (#11923)

--bug=1011638 --user=王孝刚
【接口测试】sql协议-api-test-前/后置sql运行环境-配置环境按钮和环境列表数据未对齐
https://www.tapd.cn/55049933/s/1125530

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
metersphere-bot 2022-03-24 14:57:44 +08:00 committed by GitHub
parent 69c33c6bdd
commit 6ed2d6ebf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 1 deletions

View File

@ -170,6 +170,7 @@ export default {
});
});
});
setTimeout(this.$refs.table.reloadTable, 200);
},
setEnvironment(data) {
this.environmentId = data.id;

View File

@ -254,6 +254,7 @@ export default {
}
});
});
setTimeout(this.$refs.table.reloadTable, 200);
},
clear() {
if (this.$refs.table) {

View File

@ -278,6 +278,11 @@ export default {
margin: 6px 0px 8px 30px;
}
.environment-button {
margin-left: 20px;
padding: 7px;
}
/deep/ .el-form-item {
margin-bottom: 15px;
}

View File

@ -12,7 +12,8 @@
:title="$t('api_test.automation.wait_controller')">
<template v-slot:headerLeft>
<el-input-number class="time-input" size="mini" v-model="timer.delay" :min="0" :step="1000" ref="nameInput"/>
<el-input-number class="time-input" size="mini" v-model="timer.delay" :min="0" :step="1000" ref="nameInput"
:disabled="timer.disabled"/>
ms
</template>

View File

@ -91,4 +91,10 @@ export default {
/deep/ .el-divider {
margin-bottom: 10px;
}
.environment-button {
margin-left: 20px;
padding: 7px;
}
</style>

View File

@ -344,6 +344,11 @@
border-radius: 50%;
}
.environment-button {
margin-left: 20px;
padding: 7px;
}
.ms-left-buttion {
margin: 6px 0px 8px 30px;
}