mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 11:21:29 +00:00
fix: update graph
This commit is contained in:
@@ -24,7 +24,7 @@ limitations under the License. -->
|
||||
<template #reference>
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
</template>
|
||||
<div class="tools" @click="setConfig">
|
||||
<div class="tools" @click="editConfig">
|
||||
<span>Edit</span>
|
||||
</div>
|
||||
<div class="tools" @click="removeWidget">
|
||||
@@ -104,7 +104,7 @@ export default defineComponent({
|
||||
function removeWidget() {
|
||||
dashboardStore.removeControls(props.data);
|
||||
}
|
||||
function setConfig() {
|
||||
function editConfig() {
|
||||
dashboardStore.setConfigPanel(true);
|
||||
dashboardStore.selectWidget(props.data);
|
||||
}
|
||||
@@ -112,7 +112,7 @@ export default defineComponent({
|
||||
state,
|
||||
appStoreWithOut,
|
||||
removeWidget,
|
||||
setConfig,
|
||||
editConfig,
|
||||
data,
|
||||
};
|
||||
},
|
||||
|
@@ -16,7 +16,7 @@ limitations under the License. -->
|
||||
<Graph :option="option" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { defineProps, ref, computed } from "vue";
|
||||
import { defineProps, computed } from "vue";
|
||||
import type { PropType } from "vue";
|
||||
import { Event } from "@/types/events";
|
||||
|
||||
|
Reference in New Issue
Block a user