Nextjs push data object twice if there has getStaticProps in the component

前端 未结 0 1348
[愿得一人]
[愿得一人] 2021-01-02 11:02

I found the way to solve this duplicate issue, Picture(1)(line 4). But i wonder why it will push twice time object data into array But only print console.lo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题