Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

关闭 SSR 后仍然调用了 getServerData 函数 #447

Closed
luhc228 opened this issue Aug 15, 2022 · 0 comments
Closed

关闭 SSR 后仍然调用了 getServerData 函数 #447

luhc228 opened this issue Aug 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@luhc228
Copy link
Member

luhc228 commented Aug 15, 2022

renderToResponse 和 renderToHTML 函数里设定的 renderMode 的默认值是 SSR,导致在 loadRoutesData 函数里调用了 gerServerData

dataLoader = getServerData || getData;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants