mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 08:30:06 +00:00
修复ArkTs告警
Signed-off-by: tzliujiahui <liujiahui21@huawei.com>
This commit is contained in:
parent
82114a8481
commit
b9e2be79c7
@ -21,7 +21,7 @@ import { AlignContentFlex } from './AlignContentFlex';
|
||||
export struct MockComplexReusableSubBranch {
|
||||
@State alignStyle: FlexAlign = FlexAlign.Center;
|
||||
|
||||
aboutToReuse(params: ESObject): void { // 从缓存复用组件前,更新组件的状态变量
|
||||
aboutToReuse(params: Record<string, number>): void { // 从缓存复用组件前,更新组件的状态变量
|
||||
this.alignStyle = params.alignStyle;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user