fix(接口定义): 修复环境变量显示多选的缺陷
--bug=1021727 --user=王孝刚 【项目管理】项目环境-通用配置,批量删除环境变量后,还在显示批量操作按钮 https://www.tapd.cn/55049933/s/1327256
This commit is contained in:
parent
068f4f4a12
commit
4c6558ae1d
|
@ -449,6 +449,7 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
environment.config.commonConfig.variables.forEach(variable => {
|
environment.config.commonConfig.variables.forEach(variable => {
|
||||||
|
delete variable.showMore;
|
||||||
if (variable.type === 'CSV' && variable.files.length === 0) {
|
if (variable.type === 'CSV' && variable.files.length === 0) {
|
||||||
message = this.$t('api_test.automation.csv_warning');
|
message = this.$t('api_test.automation.csv_warning');
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -449,6 +449,7 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
environment.config.commonConfig.variables.forEach(variable => {
|
environment.config.commonConfig.variables.forEach(variable => {
|
||||||
|
delete variable.showMore;
|
||||||
if (variable.type === 'CSV' && variable.files.length === 0) {
|
if (variable.type === 'CSV' && variable.files.length === 0) {
|
||||||
message = this.$t('api_test.automation.csv_warning');
|
message = this.$t('api_test.automation.csv_warning');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue