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
redux 经过 connect 注入变量 到页面组件,props 中声明导致 调用页面组件需要传递 注入的变量
请求解决方案
github 复现地址:https://github.com/Onlylonger/taro-tmp
The text was updated successfully, but these errors were encountered:
// #region 书写注意 // // 目前 typescript 版本还无法在装饰器模式下将 Props 注入到 Taro.Component 中的 props 属性 // 需要显示声明 connect 的参数类型并通过 interface 的方式指定 Taro.Component 子类的 props // 这样才能完成类型检查和 IDE 的自动提示 // 使用函数模式则无此限制 // ref: DefinitelyTyped/DefinitelyTyped#20796 // // #endregion
Sorry, something went wrong.
老哥,例子里面有说明的
嗯,忽略了。
我这边自己改了下
Merge pull request NervJS#582 from kongxiaojun/58/harmony-hybrid-3.6.29
898e61d
fix: 修复启动时如果传参则query参数会丢失
No branches or pull requests
redux 经过 connect 注入变量 到页面组件,props 中声明导致 调用页面组件需要传递 注入的变量
请求解决方案
github 复现地址:https://github.com/Onlylonger/taro-tmp
The text was updated successfully, but these errors were encountered: