fix: correct data dictionary variable placeholder

This commit is contained in:
meoacgx committed 2026-03-10 00:42:33 +08:00
1 parent b134c335b2
commit c2a680d5c4
1 file changed
+2 -1
@@ -46,7 +46,7 @@
</HeaderContent>
<RowTemplate>
<MudTd DataLabel="显示名称">@context.DisplayName</MudTd>
<MudTd DataLabel="变量名"><code>@($"{" + context.Name + "}")</code></MudTd>
<MudTd DataLabel="变量名"><code>@($"{{{context.Name}}}")</code></MudTd>
<MudTd DataLabel="类型">
<MudChip T="string" Size="Size.Small" Color="@(IsImageDictionary(context) ? Color.Secondary : Color.Primary)">
@(IsImageDictionary(context) ? "图片" : "文本")
@@ -206,3 +206,4 @@
private static bool IsQueueMode(DataDictionary dictionary) =>
string.Equals(dictionary.ReadMode, DataDictionaryReadModes.Queue, StringComparison.OrdinalIgnoreCase);
}