diff --git a/frontend/src/views/KPIList.vue b/frontend/src/views/KPIList.vue index c65af241..4eac4f96 100644 --- a/frontend/src/views/KPIList.vue +++ b/frontend/src/views/KPIList.vue @@ -4,7 +4,7 @@ @@ -589,6 +589,10 @@ function doDelete(id: number) { // ── 从模板创建 ── const showTemplateSelect = ref(false) +function openTemplateDialog() { + showTemplateSelect.value = true + loadTemplates() +} const templateLoading = ref(false) const templates = ref([]) const templateKeyword = ref('')