From 2c7286dbffea7bb33843364c04f79c38b485c51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 23 Nov 2022 15:16:00 +0800 Subject: fix #1704 --- script/parser/guide.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'script/parser') diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 32f94584..5dee571c 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1008,6 +1008,8 @@ function m.getKeyName(obj) return obj.field[1] elseif tp == 'doc.field.name' then return obj[1] + elseif tp == 'doc.type.field' then + return m.getKeyName(obj.name) end return m.getKeyNameOfLiteral(obj) end -- cgit v1.2.3