From 8e1b56d74c8867fbf8ff3f09c4df32e8df0a2ba3 Mon Sep 17 00:00:00 2001 From: tnt group Date: Mon, 26 Sep 2022 16:44:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4=E8=A3=85=E9=A5=B03?= =?UTF-8?q?=E7=9A=84=E9=BB=98=E8=AE=A4=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Decorates/Decorates/Decorates03/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/packages/components/Decorates/Decorates/Decorates03/config.ts b/src/packages/components/Decorates/Decorates/Decorates03/config.ts index 1543ddb8..5874b2bd 100644 --- a/src/packages/components/Decorates/Decorates/Decorates03/config.ts +++ b/src/packages/components/Decorates/Decorates/Decorates03/config.ts @@ -2,16 +2,18 @@ import { PublicConfigClass } from '@/packages/public' import { CreateComponentType } from '@/packages/index.d' import { Decorates03Config } from './index' import cloneDeep from 'lodash/cloneDeep' +import { chartInitConfig } from '@/settings/designSetting' export const option = { dataset: '我是标题', textColor: '#fff', textSize: 32, - colors: ['#1dc1f5', '#1dc1f5'], + colors: ['#1dc1f5', '#1dc1f5'] } export default class Config extends PublicConfigClass implements CreateComponentType { public key = Decorates03Config.key + public attr = { ...chartInitConfig, w: 500, h: 70, zIndex: 1 } public chartConfig = cloneDeep(Decorates03Config) public option = cloneDeep(option) }