mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 13:55:24 +00:00
fix metric config
This commit is contained in:
parent
e8b8cf5fb4
commit
431ade7f43
@ -71,7 +71,7 @@ limitations under the License. -->
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import { ref, watch } from "vue";
|
||||
import type { PropType } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { SortOrder, CalculationOpts } from "../../../data";
|
||||
@ -104,6 +104,12 @@ function changeConfigs(index: number, param: { [key: string]: string }) {
|
||||
});
|
||||
emit("update");
|
||||
}
|
||||
watch(
|
||||
() => props.currentMetricConfig,
|
||||
() => {
|
||||
currentMetric.value = props.currentMetricConfig;
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.config-panel {
|
||||
|
Loading…
Reference in New Issue
Block a user