dcloudio / dcloudio/hello-uniapp
IOS下,nvue页面用webview原生,webview加载的网页中如果有a标签,且target=_blank,这样的链接无法打开,是不是生成的源码中WKWebView在创建策略上没有设置为在同一webview中打开新页面。 Android没有此问题。
Open
- Dominant language
- Vue
- Stars
- 3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
IOS下,nvue页面用webview原生,webview加载的网页中如果有a标签,且target=_blank,这样的链接无法打开,是不是生成的源码中WKWebView在创建策略上没有设置为在同一webview中打开新页面。
Android没有此问题。4.0.8版本
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in an iOS nvue page using the native webview with a webpage containing an a tag whose target is _blank, using version 4.0.8. Start by inspecting how WKWebView handles new-page requests; done means the link opens in the same webview on iOS, while Android behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100