From 0ee82783d00df7de38fdd1b0037fd96988a1d988 Mon Sep 17 00:00:00 2001 From: MactavishCui <166927232+MactavishCui@users.noreply.github.com> Date: Thu, 28 Nov 2024 22:04:45 +0800 Subject: [PATCH] [Optimization][Data Development] variable suggestion optimization (#3982) --- .../main/java/org/dinky/service/impl/SuggestionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dinky-admin/src/main/java/org/dinky/service/impl/SuggestionServiceImpl.java b/dinky-admin/src/main/java/org/dinky/service/impl/SuggestionServiceImpl.java index 3cef8b8d96..eb00b6b762 100644 --- a/dinky-admin/src/main/java/org/dinky/service/impl/SuggestionServiceImpl.java +++ b/dinky-admin/src/main/java/org/dinky/service/impl/SuggestionServiceImpl.java @@ -91,7 +91,7 @@ private static void buildGlobalVariableSuggestions( .key(fragmentVariable.getId() + "_fragmentVariable") .label(suggestionLabelVO) .kind(4) - .insertText(fragmentVariable.getFragmentValue()) + .insertText(fragmentVariable.getName()) .detail(fragmentVariable.getNote()) .build(); })