mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 04:35:23 +00:00
fix nits
This commit is contained in:
parent
eae9926ae7
commit
0ee893f735
@ -131,11 +131,11 @@ export default defineComponent({
|
||||
|
||||
function applyConfig() {
|
||||
dashboardStore.setConfigPanel(false);
|
||||
setStatus(true);
|
||||
setStatus();
|
||||
dashboardStore.setConfigs(dashboardStore.selectedGrid);
|
||||
}
|
||||
|
||||
function setStatus(p: boolean) {
|
||||
function setStatus() {
|
||||
isEdit.value = true;
|
||||
}
|
||||
|
||||
|
@ -283,7 +283,7 @@ function changeMetrics(
|
||||
...{ metricTypes: states.metricTypes, metrics: states.metrics },
|
||||
});
|
||||
if (states.isList) {
|
||||
emit("changeOpt", true);
|
||||
emit("changeOpt");
|
||||
return;
|
||||
}
|
||||
queryMetrics();
|
||||
@ -314,7 +314,7 @@ function changeMetricType(index: number, opt: Option[] | any) {
|
||||
...{ metricTypes: states.metricTypes },
|
||||
});
|
||||
if (states.isList) {
|
||||
emit("changeOpt", true);
|
||||
emit("changeOpt");
|
||||
return;
|
||||
}
|
||||
queryMetrics();
|
||||
|
@ -93,7 +93,7 @@ import { EntityType } from "../data";
|
||||
import router from "@/router";
|
||||
import getDashboard from "@/hooks/useDashboardsSession";
|
||||
|
||||
/*global defineProps, defineEmits */
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
|
Loading…
Reference in New Issue
Block a user