王士厅

fix: 兴趣卡关闭添加提示,关闭后列表删除数据

... ... @@ -25,7 +25,7 @@ export struct ZhSingleColumn09 {
@State compDTO: CompDTO = {} as CompDTO
@State activeIndexs: Array<number> = []
@State operDataList: ContentDTO[] = this.compDTO?.operDataList || []
@State selfClosed: Boolean = false;
@StorageLink('selfClosed') selfClosed: boolean = false
@State loadImg: boolean = false;
@State compIndex: number = 0;
... ...
... ... @@ -18,6 +18,7 @@ const TAG = 'MainPage';
PersistentStorage.persistProp('GestureLoadStrategy', 0); // 点播视频手势动画0为用户首次进入视频点播,1为用户已进入视频点播
PersistentStorage.persistProp('clickedIds', []); // 频道稿件已读存放稿件ID结合用户频道列表已读置灰回显
PersistentStorage.persistProp('selfClosed', false); // 新闻频道推荐兴趣卡,默认显示
@Entry
@Component
... ...