fix(接口测试): 修复复制的场景无法添加前后置操作的缺陷

--bug=1026590 --user=王孝刚 [接口测试]
github#24667最新版MS的接口自动化-场景导入-场景复制后,无法进行前后置脚本编写
https://www.tapd.cn/55049933/s/1377024
This commit is contained in:
wxg0103 2023-05-30 15:25:15 +08:00 committed by fit2-zhao
parent 132bad7ac3
commit f484aa3d43
2 changed files with 0 additions and 2 deletions

View File

@ -300,7 +300,6 @@ export default {
arr[i].disabled = disabled; arr[i].disabled = disabled;
arr[i].isCopy = false; arr[i].isCopy = false;
arr[i].projectId = this.calcProjectId(arr[i].projectId, id); arr[i].projectId = this.calcProjectId(arr[i].projectId, id);
arr[i].notAddStep = true;
// //
let typeArray = ['JDBCPostProcessor', 'JDBCSampler', 'JDBCPreProcessor']; let typeArray = ['JDBCPostProcessor', 'JDBCSampler', 'JDBCPreProcessor'];
if (typeArray.indexOf(arr[i].type) !== -1) { if (typeArray.indexOf(arr[i].type) !== -1) {

View File

@ -13,7 +13,6 @@
@click="add" @click="add"
type="primary" type="primary"
v-if="tabType !== 'assertionsRule'" v-if="tabType !== 'assertionsRule'"
:disabled="request.notAddStep"
style="background-color: var(--primary_color); border-color: var(--primary_color)"> style="background-color: var(--primary_color); border-color: var(--primary_color)">
{{ $t('api_test.request.assertions.add') }} {{ $t('api_test.request.assertions.add') }}
</el-button> </el-button>