perf: 优化报错信息捕获,去除setPosition自带函数

This commit is contained in:
奔跑的面条
2022-10-13 20:21:33 +08:00
parent e46ee17914
commit 73090a6f1e
7 changed files with 186 additions and 172 deletions
-1
View File
@@ -115,7 +115,6 @@ export interface PublicConfigType {
}
filter?: string
status: StatusType
setPosition: Function
}
export interface CreateComponentType extends PublicConfigType, requestConfig {
-6
View File
@@ -81,12 +81,6 @@ export class PublicConfigClass implements PublicConfigType {
public request = cloneDeep(requestConfig)
// 数据过滤
public filter = undefined
// 设置坐标
public setPosition(x: number, y: number): void {
this.attr.x = x
this.attr.y = y
}
}
// 多选成组类