diff --git a/src/views/dashboard/configuration/Tab.vue b/src/views/dashboard/configuration/Tab.vue
new file mode 100644
index 00000000..86a6bfe1
--- /dev/null
+++ b/src/views/dashboard/configuration/Tab.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/configuration/index.ts b/src/views/dashboard/configuration/index.ts
index aadb8f33..aa4b8c85 100644
--- a/src/views/dashboard/configuration/index.ts
+++ b/src/views/dashboard/configuration/index.ts
@@ -22,8 +22,10 @@ import Event from "./Event.vue";
import TimeRange from "./TimeRange.vue";
import ThirdPartyApp from "./ThirdPartyApp.vue";
import ContinuousProfiling from "./ContinuousProfiling.vue";
+import Tab from "./Tab.vue";
export default {
+ Tab,
Text,
Widget,
Topology,
diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue
index 18977897..0225695b 100644
--- a/src/views/dashboard/controls/Tab.vue
+++ b/src/views/dashboard/controls/Tab.vue
@@ -60,6 +60,9 @@ limitations under the License. -->
+
+ {{ t("edit") }}
+
{{ t("editTab") }}
@@ -224,6 +227,11 @@ limitations under the License. -->
copy(path);
}
document.body.addEventListener("click", handleClick, false);
+
+ function editConfig() {
+ dashboardStore.setConfigPanel(true);
+ dashboardStore.selectWidget(props.data);
+ }
watch(
() => dashboardStore.activedGridItem,
(data) => {
@@ -266,6 +274,7 @@ limitations under the License. -->
clickTabs,
copyLink,
getStringWidth,
+ editConfig,
...toRefs(props),
activeTabWidget,
dashboardStore,