feat:优化渲染性能

This commit is contained in:
黄云飞
2021-11-23 21:45:01 +08:00
parent 0f8f228137
commit c7b8832789
6 changed files with 155 additions and 43 deletions
+1
View File
@@ -2,6 +2,7 @@ export interface IDrawOption {
curIndex?: number;
isSetCursor?: boolean;
isSubmitHistory?: boolean;
isComputeRowList?: boolean;
}
export interface IDrawImagePayload {
+2 -1
View File
@@ -2,7 +2,8 @@ import { RowFlex } from "../dataset/enum/Row"
import { IElement, IElementMetrics } from "./Element"
export type IRowElement = IElement & {
metrics: IElementMetrics
metrics: IElementMetrics;
style: string;
}
export interface IRow {