fix(接口定义): 修复环境变量显示多选的缺陷
--bug=1021727 --user=王孝刚 【项目管理】项目环境-通用配置,批量删除环境变量后,还在显示批量操作按钮 https://www.tapd.cn/55049933/s/1327256
This commit is contained in:
parent
a7e39aeb69
commit
b6ec1692d1
|
@ -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