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 是 'a/b/c' 这种形式,但是后面有个函数是getPropVal:
const getPropVal = (obj, key) => { return key.split('.').reduce((o, k) => { return o[k] }, obj) }
使用.来分割的 ,这里会分割不到值。
.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如果 url 是 'a/b/c' 这种形式,但是后面有个函数是getPropVal:
使用
.
来分割的 ,这里会分割不到值。The text was updated successfully, but these errors were encountered: