-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
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
代码优化建议 #325
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
像middleware这些, 最好是在index.ts中先import然后统一export, 这样其他页面只需要引用一个文件, 减少代码:
像下面这种:
可以优化成:
The text was updated successfully, but these errors were encountered: