问题:类型“Readonly<{}> & Readonly<{ children?: ReactNode; }>”上不存在属性“navigation”。ts(2339)
解决方法:
export default class Brand extends React.Component<any, BrandState>
把props传递为any就行了
 
 

相关文章:

  • 2021-09-06
  • 2021-10-05
  • 2022-12-23
  • 2022-02-23
  • 2021-11-30
  • 2021-06-03
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-07-29
相关资源
相似解决方案