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
wangliang_wd
2024-10-11 09:41:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f8e9d65520913638e193f2b7af583760052fcf70
f8e9d655
1 parent
053179c0
feat:优化桌面组件点击早晚更新问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
sight_harmony/commons/wdRouter/src/main/ets/utils/AppInnerLink.ets
sight_harmony/commons/wdWebComponent/src/main/ets/pages/JsBridgeBiz.ets
sight_harmony/commons/wdRouter/src/main/ets/utils/AppInnerLink.ets
View file @
f8e9d65
...
...
@@ -3,7 +3,7 @@ import { RetryHolderManager } from '@ohos/imageknife/src/main/ets/components/ima
import App from '@system.app'
import { Action, Params } from 'wdBean/Index'
import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO'
import { Logger } from 'wdKit/Index'
import { Logger
, SPHelper
} from 'wdKit/Index'
import { ContentType } from '../common/ContentType'
import { WDRouterRule } from '../router/WDRouterRule'
import HomeChannelUtils from './HomeChannelUtils'
...
...
@@ -127,6 +127,8 @@ export class AppInnerLink {
if (params.type == "topic" && params.subType == "audio_news") {
}
if (params.type == "topic" && params.subType == "moring_evening_news") {
///解决早晚报切换不更新问题,内部更新id
SPHelper.default.deleteSync('dailyPaperTopicPageId');
ProcessUtils.gotoMorningEveningPaper()
}
...
...
sight_harmony/commons/wdWebComponent/src/main/ets/pages/JsBridgeBiz.ets
View file @
f8e9d65
...
...
@@ -197,6 +197,8 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
ProcessUtils.processPage(content)
}
if (urlParams.get('subType') === 'moring_evening_news') {
///解决早晚报切换不更新问题,内部更新id
SPHelper.default.deleteSync('dailyPaperTopicPageId');
ProcessUtils.gotoMorningEveningPaper()
}
if (urlParams.get('subType') === 'electronic_newspapers') {
...
...
Please
register
or
login
to post a comment