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
yuzhilin
2024-05-13 10:21:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c1348ba8363696c191eea08f8f2aa674b834f66
8c1348ba
1 parent
2d92104f
fix:17316 已投票账号访问投票专题,页面展示错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
sight_harmony/commons/wdWebComponent/src/main/ets/pages/JsCallAppService.ets
sight_harmony/commons/wdWebComponent/src/main/ets/pages/JsCallAppService.ets
View file @
8c1348b
...
...
@@ -15,11 +15,15 @@ export function handleJsCallAppService(data: Message, callback: (res: string) =>
}
let url: string = HttpUrlUtils.getHost() + data?.data?.url
if(queryString){
url +`?${queryString}}`
if (queryString) {
url = url + `?${queryString}`
}
console.log('yzl', queryString, url)
WDHttp.get(url).then((res) => {
callback(JSON.stringify(res))
callback(JSON.stringify({
netError: '0',
responseMap: res
}))
})
}
if (data?.data?.method === 'post') {
...
...
Please
register
or
login
to post a comment