fix(接口定义): 优化重复点击case的提示 (#15798)

--bug=1014874 --user=王孝刚 【接口测试】多次点击接口case列表执行按钮页面提示不友好
https://www.tapd.cn/55049933/s/1202115

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-14 17:21:07 +08:00 committed by GitHub
parent fb76eea8f4
commit 17d4c8af93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export default {
}, },
onError() { onError() {
this.$emit('runRefresh', ""); this.$emit('runRefresh', "");
this.$error("The connection is abnormal, please check the environment configuration"); this.$error(this.$t('api_test.automation.rerun_warning'));
}, },
onMessages(e) { onMessages(e) {
// //

View File

@ -1453,6 +1453,7 @@ export default {
request_error: "error", request_error: "error",
generate_report: "Generate report", generate_report: "Generate report",
rerun: "fail and rerun", rerun: "fail and rerun",
rerun_warning: "The connection is abnormal, please check the environment configuration",
rerun_success: "Rerun has already started, refresh the results later to view" rerun_success: "Rerun has already started, refresh the results later to view"
}, },
environment: { environment: {

View File

@ -1461,6 +1461,7 @@ export default {
request_error: "失败", request_error: "失败",
generate_report: "生成报告", generate_report: "生成报告",
rerun: "失败重跑", rerun: "失败重跑",
rerun_warning: "连接异常,请检查环境配置",
rerun_success: "已经开始重跑,稍后刷新结果查看" rerun_success: "已经开始重跑,稍后刷新结果查看"
}, },
environment: { environment: {

View File

@ -1458,6 +1458,7 @@ export default {
request_error: "失敗", request_error: "失敗",
generate_report: "生成報告", generate_report: "生成報告",
rerun: "失敗重跑", rerun: "失敗重跑",
rerun_warning: "連接異常,請檢查環境配置",
rerun_success: "已經開始重跑,稍後重繪結果查看" rerun_success: "已經開始重跑,稍後重繪結果查看"
}, },
environment: { environment: {