eros
eros copied to clipboard
跳转webview页面,title不起作用
Your questions.
- this.$router.toWebView({}) 打开webview页面时,将 title 设置为了需要的名字,而跳转中会有一瞬间是这个名字,但页面加载出来后又会被webview页面的原有 title 所替代,达不到想要的效果,求解!
Environment.
- Mobile model: mi 8
- Mobile system: Android 9
- Dev platform: darwin/windows/linux
- Node: 8.x.x
- Npm: 5.x.x
What do you think may be caused by the analysis of the problem.
Reappearance of the problem (It's best to have a screenshot).
因为你打开的 html 被原有 title 替代了,貌似其他webview 也是这个逻辑吧
@PerseveranceZ 大佬,如果想让目标页面的标题变成设置的title,应该怎么做/
你webview 里面的页面的 title 不设置试试呢