From 9e71a145fa740f4681083809a97852799c3a1586 Mon Sep 17 00:00:00 2001 From: Doma Date: Thu, 16 Jun 2022 14:11:45 +0800 Subject: [PATCH] refactor(Treemap): upgrade deprecated itemStyle.normal option --- src/utils.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 8f7aed7..82fe8ef 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -688,11 +688,9 @@ const createOptions = { levels: [ { itemStyle: { - normal: { - borderColor: '#fff', - borderWidth: 1, - gapWidth: 1 - } + borderColor: '#fff', + borderWidth: 1, + gapWidth: 1 } } ]