feat: 新增 public 预览配置项preview

This commit is contained in:
奔跑的面条
2023-02-15 14:24:56 +08:00
parent 4f2609a121
commit fc58df2148
6 changed files with 26 additions and 8 deletions
@@ -15,7 +15,6 @@ export const FontWeightObject = {
}
export const option = {
dataset: '让数字化看得见',
fontSize: 32,
fontColor: '#ffffff',
@@ -39,4 +38,5 @@ export default class Config extends PublicConfigClass implements CreateComponent
public attr = { ...chartInitConfig, w: 500, h: 70, zIndex: -1 }
public chartConfig = cloneDeep(TextBarrageConfig)
public option = cloneDeep(option)
public preview = { overFlowHidden: true }
}