fix (接口自动化): 删除场景提示优化 #1006090
--bug=1006090 --user=赵勇 【接口自动化】-删除场... https://www.tapd.cn/55049933/s/1038099
This commit is contained in:
parent
a37bca2c33
commit
a38b3998b4
|
@ -797,14 +797,14 @@ export default {
|
|||
this.$post('/api/automation/checkBeforeDelete/', param, response => {
|
||||
|
||||
let checkResult = response.data;
|
||||
let alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?";
|
||||
let alertMsg = this.$t('load_test.delete_threadgroup_confirm') + " ?";
|
||||
if(!checkResult.deleteFlag){
|
||||
alertMsg = "";
|
||||
checkResult.checkMsg.forEach(item => {
|
||||
alertMsg+=item+";";
|
||||
});
|
||||
if(alertMsg === ""){
|
||||
alertMsg = this.$t('api_test.definition.request.delete_confirm') + " ?";
|
||||
alertMsg = this.$t('load_test.delete_threadgroup_confirm') + " ?";
|
||||
} else {
|
||||
alertMsg += this.$t('api_test.is_continue') + " ?";
|
||||
}
|
||||
|
@ -875,14 +875,14 @@ export default {
|
|||
param.ids = [row.id];
|
||||
this.$post('/api/automation/checkBeforeDelete/', param, response => {
|
||||
let checkResult = response.data;
|
||||
let alertMsg = this.$t('api_test.definition.request.delete_confirm') +" ?";
|
||||
let alertMsg = this.$t('load_test.delete_threadgroup_confirm') +" ?";
|
||||
if(!checkResult.deleteFlag){
|
||||
alertMsg = "";
|
||||
checkResult.checkMsg.forEach(item => {
|
||||
alertMsg+=item+";";
|
||||
});
|
||||
if(alertMsg === ""){
|
||||
alertMsg = this.$t('api_test.definition.request.delete_confirm') +" ?";
|
||||
alertMsg = this.$t('load_test.delete_threadgroup_confirm') +" ?";
|
||||
} else {
|
||||
alertMsg += this.$t('api_test.is_continue') + " ?";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue