mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
d13abb8c8f
commit
4c6426109c
@ -88,8 +88,6 @@ export const dashboardStore = defineStore({
|
|||||||
i: index,
|
i: index,
|
||||||
id: index,
|
id: index,
|
||||||
type,
|
type,
|
||||||
metricTypes: [""],
|
|
||||||
metrics: [""],
|
|
||||||
};
|
};
|
||||||
if (type === WidgetType.Tab) {
|
if (type === WidgetType.Tab) {
|
||||||
newItem.h = 36;
|
newItem.h = 36;
|
||||||
@ -163,8 +161,6 @@ export const dashboardStore = defineStore({
|
|||||||
i: index,
|
i: index,
|
||||||
id,
|
id,
|
||||||
type,
|
type,
|
||||||
metricTypes: [""],
|
|
||||||
metrics: [""],
|
|
||||||
};
|
};
|
||||||
if (type === WidgetType.Topology) {
|
if (type === WidgetType.Topology) {
|
||||||
newItem.h = 32;
|
newItem.h = 32;
|
||||||
|
@ -138,13 +138,8 @@ limitations under the License. -->
|
|||||||
|
|
||||||
function applyConfig() {
|
function applyConfig() {
|
||||||
dashboardStore.setConfigPanel(false);
|
dashboardStore.setConfigPanel(false);
|
||||||
let p = {
|
|
||||||
metrics: [],
|
|
||||||
metricTypes: [],
|
|
||||||
};
|
|
||||||
dashboardStore.selectWidget({
|
dashboardStore.selectWidget({
|
||||||
...dashboardStore.selectedGrid,
|
...dashboardStore.selectedGrid,
|
||||||
...p,
|
|
||||||
});
|
});
|
||||||
dashboardStore.setConfigs(dashboardStore.selectedGrid);
|
dashboardStore.setConfigs(dashboardStore.selectedGrid);
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,6 @@ limitations under the License. -->
|
|||||||
type: Object as PropType<{
|
type: Object as PropType<{
|
||||||
showTableValues: boolean;
|
showTableValues: boolean;
|
||||||
tableHeaderCol2: string;
|
tableHeaderCol2: string;
|
||||||
metricTypes: string[];
|
|
||||||
typesOfMQE: string[];
|
typesOfMQE: string[];
|
||||||
}>,
|
}>,
|
||||||
default: () => ({ showTableValues: true }),
|
default: () => ({ showTableValues: true }),
|
||||||
|
Loading…
Reference in New Issue
Block a user