diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue
index b739be00e..0f908dcf6 100644
--- a/nezha-fronted/src/components/common/header.vue
+++ b/nezha-fronted/src/components/common/header.vue
@@ -724,7 +724,6 @@
width: 100%;
height: 50px;
background-color: #232f3e;
- z-index: 1;
}
diff --git a/nezha-fronted/src/components/page/project/project.vue b/nezha-fronted/src/components/page/project/project.vue
index bc9bcfc3f..83cdf5d42 100644
--- a/nezha-fronted/src/components/page/project/project.vue
+++ b/nezha-fronted/src/components/page/project/project.vue
@@ -103,6 +103,8 @@
+
+
@@ -439,6 +441,22 @@
this.bottomBox.targetTab = "panel";
this.bottomBox.showSubList = true;
},
+ delEndpoint(endpoint) {
+ this.$confirm(this.$t("tip.confirmDelete"), {
+ confirmButtonText: this.$t("tip.yes"),
+ cancelButtonText: this.$t("tip.no"),
+ type: 'warning'
+ }).then(() => {
+ this.$delete("endpoint?ids=" + endpoint.id).then(response => {
+ if (response.code === 200) {
+ this.$message({duration: 1000, type: 'success', message: this.$t("tip.deleteSuccess")});
+ this.getEndpointTableData();
+ } else {
+ this.$message.error(response.msg);
+ }
+ });
+ });
+ },
jumpToAlertMsg(endpoint) {
this.endpoint = Object.assign({}, endpoint);
this.bottomBox.targetTab = 'alertMessage';