From 08c57d5fe1cd5681b36280d71baa63a548474f2e Mon Sep 17 00:00:00 2001 From: vtejuf Date: Sat, 9 Oct 2021 11:49:22 +0800 Subject: [PATCH] use index as keyName in type array --- lib/types/json-array.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/json-array.vue b/lib/types/json-array.vue index 41758a0..c2b40fb 100644 --- a/lib/types/json-array.vue +++ b/lib/types/json-array.vue @@ -92,7 +92,7 @@ export default { }, props: { sort: this.sort, - // keyName: key, + keyName: `${key}`, depth: this.depth + 1, value, previewMode: this.previewMode,