mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增 public 预览配置项preview
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Vendored
+4
@@ -114,6 +114,10 @@ export interface PublicConfigType {
|
||||
// 动画
|
||||
animations: string[]
|
||||
}
|
||||
preview?: {
|
||||
// 预览超出隐藏
|
||||
overFlowHidden?: boolean
|
||||
}
|
||||
filter?: string
|
||||
status: StatusType
|
||||
events: {
|
||||
|
||||
@@ -78,6 +78,10 @@ export class PublicConfigClass implements PublicConfigType {
|
||||
// 动画
|
||||
animations: []
|
||||
}
|
||||
// 预览
|
||||
public preview = {
|
||||
overFlowHidden: false
|
||||
}
|
||||
// 状态
|
||||
public status = {
|
||||
lock: false,
|
||||
|
||||
Reference in New Issue
Block a user