fix(接口测试): 修复删除场景弹框提示信息无场景名称的缺陷
--bug=1010698 --user=王孝刚 【接口测试】-删除场景弹框提示信息无场景名称 https://www.tapd.cn/55049933/s/1111134
This commit is contained in:
parent
2a9f22183b
commit
0ab26ba29b
|
@ -1135,14 +1135,14 @@ export default {
|
|||
param.ids = [row.id];
|
||||
this.$post('/api/automation/checkBeforeDelete/', param, response => {
|
||||
let checkResult = response.data;
|
||||
let alertMsg = this.$t('load_test.delete_threadgroup_confirm');
|
||||
let alertMsg = this.$t('load_test.delete_threadgroup_confirm') + " [" + row.name + "] ?";
|
||||
if (!checkResult.deleteFlag) {
|
||||
alertMsg = "";
|
||||
checkResult.checkMsg.forEach(item => {
|
||||
alertMsg += item;
|
||||
});
|
||||
if (alertMsg === "") {
|
||||
alertMsg = this.$t('load_test.delete_threadgroup_confirm');
|
||||
alertMsg = this.$t('load_test.delete_threadgroup_confirm') + " [" + row.name + "] ?";
|
||||
} else {
|
||||
alertMsg += this.$t('api_test.is_continue');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue