diff --git a/api-test/backend/src/main/java/io/metersphere/service/MsHashTreeService.java b/api-test/backend/src/main/java/io/metersphere/service/MsHashTreeService.java index 038633f012..af8397af2a 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/MsHashTreeService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/MsHashTreeService.java @@ -365,9 +365,6 @@ public class MsHashTreeService { public void caseFormatting(JSONObject element, List caseIds, ParameterConfig msParameter) { List caseInfos = apiTestCaseService.selectByCaseIds(caseIds); - if(CollectionUtils.isEmpty(caseInfos)){ - return; - } Map caseMap = caseInfos.stream() .collect(Collectors.toMap(ApiTestCase::getId, a -> a, (k1, k2) -> k1)); if (element != null && ElementConstants.REQUESTS.contains(element.optString(TYPE))) { diff --git a/project-management/frontend/src/business/menu/appmanage/AppManage.vue b/project-management/frontend/src/business/menu/appmanage/AppManage.vue index d259985ba9..50ee62142c 100644 --- a/project-management/frontend/src/business/menu/appmanage/AppManage.vue +++ b/project-management/frontend/src/business/menu/appmanage/AppManage.vue @@ -695,7 +695,6 @@ export default { }, created() { this.init(); - this.getBase(); this.selectUserInProject(); this.getResourcePools(); this.isXpack = !!hasLicense(); @@ -714,11 +713,11 @@ export default { if (item.id === this.config.resourcePoolId) { isDelPool = false; } + if (isDelPool) { + this.config.resourcePoolId = undefined; + this.config.poolEnable = false; + } }); - if (isDelPool) { - this.config.resourcePoolId = undefined; - this.config.poolEnable = false; - } }); }, runModeChange(value, other) {