fix(项目管理): 优化环境名称已存在提示
--bug=1037580 --user=王孝刚 【项目管理】环境管理-环境名称重复提示信息优化 https://www.tapd.cn/55049933/s/1500902
This commit is contained in:
parent
f17a1c0e77
commit
00ea63c395
|
@ -109,7 +109,7 @@ organization_default_not_exists=默认组织不存在
|
|||
api_load_script_error=读取脚本失败
|
||||
illegal_xml_format=不合法的 XML 格式
|
||||
api_report_is_null="测试报告是未生成,无法更新"
|
||||
api_test_environment_already_exists="环境名称已存在"
|
||||
api_test_environment_already_exists=环境名称已存在
|
||||
api_test=接口测试
|
||||
#test case
|
||||
test_case_node_level=层
|
||||
|
|
|
@ -108,7 +108,7 @@ organization_default_not_exists=The default organization does not exist
|
|||
api_load_script_error=Load script error
|
||||
illegal_xml_format=illegal XML format
|
||||
api_report_is_null="Report is null, can't update"
|
||||
api_test_environment_already_exists="Environment already exists"
|
||||
api_test_environment_already_exists=Environment already exists
|
||||
api_test=API Test
|
||||
#test case
|
||||
test_case_node_level=level
|
||||
|
|
|
@ -108,8 +108,8 @@ organization_default_not_exists=默认组织不存在
|
|||
#api
|
||||
api_load_script_error=读取脚本失败
|
||||
illegal_xml_format=不合法的 XML 格式
|
||||
api_report_is_null="测试报告是未生成,无法更新"
|
||||
api_test_environment_already_exists="环境名称已存在"
|
||||
api_report_is_null=测试报告是未生成,无法更新
|
||||
api_test_environment_already_exists=环境名称已存在
|
||||
api_test=接口测试
|
||||
#test case
|
||||
test_case_node_level=层
|
||||
|
|
|
@ -109,7 +109,7 @@ organization_default_not_exists=默認組織不存在
|
|||
api_load_script_error=讀取腳本失敗
|
||||
illegal_xml_format=不合法的 XML 格式
|
||||
api_report_is_null="測試報告是未生成,無法更新"
|
||||
api_test_environment_already_exists="環境名稱已存在"
|
||||
api_test_environment_already_exists=環境名稱已存在
|
||||
api_test=接口測試
|
||||
#test case
|
||||
test_case_node_level=層
|
||||
|
|
|
@ -2798,7 +2798,7 @@ public class ApiScenarioService extends MoveNodeService {
|
|||
public void refreshPos(String projectId) {
|
||||
List<String> posIds = extApiScenarioMapper.selectIdByProjectIdOrderByPos(projectId);
|
||||
SqlSession sqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH);
|
||||
ExtApiTestCaseMapper batchUpdateMapper = sqlSession.getMapper(ExtApiTestCaseMapper.class);
|
||||
ExtApiScenarioMapper batchUpdateMapper = sqlSession.getMapper(ExtApiScenarioMapper.class);
|
||||
for (int i = 0; i < posIds.size(); i++) {
|
||||
batchUpdateMapper.updatePos(posIds.get(i), i * DEFAULT_NODE_INTERVAL_POS);
|
||||
}
|
||||
|
|
|
@ -125,10 +125,10 @@ export default {
|
|||
'project.environmental.env.systemTitle': 'environment',
|
||||
'project.environmental.env.selectedTitle': 'Selected environment',
|
||||
'project.environmental.env.constantBatchAddTip': 'Only supports batch adding const type',
|
||||
'project.environmental.env.delete': 'Whether to delete the environment `{name}`?',
|
||||
'project.environmental.env.delete': 'Whether to delete the environment {name} ?',
|
||||
'project.environmental.env.deleteTip':
|
||||
'Deleting it will cause scenes that reference this environment to fail to execute properly!',
|
||||
'project.environmental.env.deleteGroup': 'Whether to delete the environment group `{name}`?',
|
||||
'project.environmental.env.deleteGroup': 'Whether to delete the environment group {name}?',
|
||||
'project.environmental.env.deleteGroupTip':
|
||||
'Deleting it will cause scenes that reference this environment group to fail to execute properly!',
|
||||
'project.environmental.database.nameIsExist': 'Database name already exists',
|
||||
|
|
|
@ -129,9 +129,9 @@ export default {
|
|||
'project.environmental.env.systemTitle': '环境',
|
||||
'project.environmental.env.selectedTitle': '已选环境',
|
||||
'project.environmental.env.constantBatchAddTip': '只支持常量类型批量添加',
|
||||
'project.environmental.env.delete': '是否删除环境 `{name}`?',
|
||||
'project.environmental.env.delete': '是否删除环境 {name} ?',
|
||||
'project.environmental.env.deleteTip': '删除后会导致引用此环境的场景无法正常执行',
|
||||
'project.environmental.env.deleteGroup': '是否删除环境组 `{name}`?',
|
||||
'project.environmental.env.deleteGroup': '是否删除环境组 {name} ?',
|
||||
'project.environmental.env.deleteGroupTip': '删除后会导致引用此环境组的场景无法正常执行',
|
||||
'project.environmental.database.nameIsExist': '数据源名称已存在',
|
||||
'project.environmental.http.noneDataExist': '已存在启用范围为无的域名!',
|
||||
|
|
Loading…
Reference in New Issue