From aa587ed43894ee98c5ea4a076817762d6788f058 Mon Sep 17 00:00:00 2001 From: Bean Date: Sun, 27 Dec 2020 16:45:57 +0800 Subject: [PATCH] fix: long string expand arrow display error --- lib/types/json-string.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/types/json-string.vue b/lib/types/json-string.vue index 7b21736..1b322c2 100644 --- a/lib/types/json-string.vue +++ b/lib/types/json-string.vue @@ -11,7 +11,7 @@ export default { }, data() { return { - expand: false, + expand: true, canExtend: false, } }, @@ -30,7 +30,7 @@ export default { const islink = REG_LINK.test(value) let domItem - if (this.expand) { + if (!this.expand) { domItem = { class: { 'jv-ellipsis': true,