We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
跳转代码已对 url 做 encode
import navigate from 'universal-navigate' navigate.push( { url: '/pages/webview/index?url=' + encodeURIComponent( url ) } )
在另一个页面获取 searchParams
import { getSearchParams } from 'rax-app' return () => { const searchParams = getSearchParams(); // 这里的 searchParams 存在问题 }
假如传入的 url 是 "https://a.com?foo=1&bar=2"
在支付宝小程序中获取到的 searchParams 为
{ "url": "https://a.com?foo=1", "bar": 2 }
正确的值应该为
{ "url": "https://a.com?foo=1&bar=2", }
在微信小程序中没有问题
The text was updated successfully, but these errors were encountered:
"https://a.com/foo=1&bar=2" 这里少了个 ? 吧,应该是 "https://a.com/?foo=1&bar=2"
Sorry, something went wrong.
"a.com/foo=1&bar=2" 这里少了个 ? 吧,应该是 "a.com/?foo=1&bar=2"
这个问号打漏了,但是加上"?"也还是有一样的问题
ChrisCindy
No branches or pull requests
跳转代码已对 url 做 encode
在另一个页面获取 searchParams
假如传入的 url 是 "https://a.com?foo=1&bar=2"
在支付宝小程序中获取到的 searchParams 为
正确的值应该为
在微信小程序中没有问题
The text was updated successfully, but these errors were encountered: