diff --git a/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue b/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue
index 3d44180db9..0cfc6b7b83 100644
--- a/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue
+++ b/frontend/src/business/components/api/test/components/environment/EnvironmentHttpConfig.vue
@@ -46,7 +46,7 @@
-
+
{{getUrl(row)}}
@@ -203,6 +203,7 @@
}
}
this.beforeCondition = JSON.parse(JSON.stringify(this.condition));
+ this.reload();
},
typeChange() {
if (this.condition.type === "NONE" && this.condition.id && this.checkNode(this.condition.id)) {
diff --git a/frontend/src/business/components/common/select-tree/SelectTree.vue b/frontend/src/business/components/common/select-tree/SelectTree.vue
index c971151fea..456345e796 100644
--- a/frontend/src/business/components/common/select-tree/SelectTree.vue
+++ b/frontend/src/business/components/common/select-tree/SelectTree.vue
@@ -1,5 +1,5 @@
-
+
{//设置option选项
let node = this.$refs.tree.getNode(item); // 所有被选中的节点对应的node
t.push(node.data);
+ this.options.push({label: node.label, value: node.key});
return {label: node.label, value: node.key};
});
this.returnDatas = t;
@@ -338,7 +340,14 @@
}
return false;
},
+ reload() {
+ this.loading = true
+ this.$nextTick(() => {
+ this.loading = false
+ });
+ },
},
+
watch: {
// eslint-disable-next-line no-unused-vars
isShowSelect(val) {