fix(测试跟踪): 选中用例数量过多生成依赖关系图页面加载异常
--bug=1027277 --user=王旭 【测试跟踪】测试用例生成依赖关系,页面崩溃 https://www.tapd.cn/55049933/s/1384791 --bug=1027250 --user=王旭 【系统设置】系统管理员设置个人信息权限,点击个人信息直接跳到系统设置模块 https://www.tapd.cn/55049933/s/1384943
This commit is contained in:
parent
ab6b9efb31
commit
ef09d69d83
|
@ -159,7 +159,7 @@ export default {
|
|||
public_warning: "The public library configuration is not enabled",
|
||||
generate_dependencies: "Generate graph",
|
||||
generate_dependencies_warning:
|
||||
"For a better experience, it is recommended to check the data below 100",
|
||||
"For a better experience, it is recommended to check the data below 500",
|
||||
batch_delete_case: "Delete",
|
||||
batch_delete_btn: "Delete",
|
||||
batch_unlink: "Batch Unlink",
|
||||
|
|
|
@ -141,7 +141,7 @@ export default {
|
|||
batch_link_demand_btn: "关联需求",
|
||||
public_warning: "未开启公共用例库配置",
|
||||
generate_dependencies: "生成依赖关系",
|
||||
generate_dependencies_warning: "为了更好的体验,建议勾选一百条以下的数据",
|
||||
generate_dependencies_warning: "为了更好的体验,建议勾选五百条以下的数据",
|
||||
batch_unlink: "批量取消关联",
|
||||
unlink: "取消关联",
|
||||
project_name: "所属项目",
|
||||
|
|
|
@ -141,7 +141,7 @@ export default {
|
|||
batch_link_demand_btn: "關聯需求",
|
||||
public_warning: "未開啟公共用例庫配置",
|
||||
generate_dependencies: "生成依賴關繫",
|
||||
generate_dependencies_warning: "為了更好的體驗,建議勾選一百條以下的數據",
|
||||
generate_dependencies_warning: "為了更好的體驗,建議勾選五百條以下的數據",
|
||||
batch_unlink: "批量取消關聯",
|
||||
unlink: "取消關聯",
|
||||
project_name: "所屬項目",
|
||||
|
|
|
@ -42,7 +42,6 @@ public class ServiceIntegrationController {
|
|||
}
|
||||
|
||||
@GetMapping("/all")
|
||||
@RequiresPermissions(PermissionConstants.WORKSPACE_SERVICE_READ)
|
||||
public List<ServiceIntegration> getAll() {
|
||||
return baseIntegrationService.getAll(SessionUtils.getCurrentWorkspaceId());
|
||||
}
|
||||
|
|
|
@ -985,7 +985,7 @@ export default {
|
|||
);
|
||||
},
|
||||
generateGraph() {
|
||||
if (getSelectDataCounts(this.condition, this.total, this.$refs.table.selectRows) > 100) {
|
||||
if (getSelectDataCounts(this.condition, this.$refs.table.selectDataCounts, this.$refs.table.selectRows) > 500) {
|
||||
this.$warning(this.$t('test_track.case.generate_dependencies_warning'));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue