Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-08-07 17:32:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
343686804adedb1c9f6f6030de66ab356206307b
34368680
1 parent
86d2a5f9
fix: 修复已读的卡片内容置灰后杀进程再次返回频道页此时已读的内容变成未读状态
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/utils/persistentStorage.ets
sight_harmony/products/phone/src/main/ets/pages/MainPage.ets
sight_harmony/features/wdComponent/src/main/ets/utils/persistentStorage.ets
View file @
3436868
PersistentStorage.persistProp('clickedIds', []);
function persistentStorage(id: string | number, type: 'add' | 'remove' | undefined = 'add') {
let _clickedIds = AppStorage.get<string[]>('clickedIds');
...
...
sight_harmony/products/phone/src/main/ets/pages/MainPage.ets
View file @
3436868
...
...
@@ -17,6 +17,7 @@ import { LaunchPageModel } from './viewModel/LaunchPageModel';
const TAG = 'MainPage';
PersistentStorage.persistProp('GestureLoadStrategy', 0); // 点播视频手势动画0为用户首次进入视频点播,1为用户已进入视频点播
PersistentStorage.persistProp('clickedIds', []); // 频道稿件已读存放稿件ID结合用户频道列表已读置灰回显
@Entry
@Component
...
...
Please
register
or
login
to post a comment