Skip to content
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

前端优化ts代码 #9

Merged
merged 1 commit into from
May 27, 2022
Merged

前端优化ts代码 #9

merged 1 commit into from
May 27, 2022

Conversation

orziz
Copy link
Collaborator

@orziz orziz commented May 27, 2022

虽然仍有不完善的地方,但是大体已经解决,也修复了一些ts报错

@orziz orziz merged commit bb04f38 into rocboss:main May 27, 2022
@rocboss
Copy link
Owner

rocboss commented May 27, 2022

赞,效率很高,已邀请入驻Collaborator

@orziz
Copy link
Collaborator Author

orziz commented May 27, 2022

收到~

const emit = defineEmits(['reload']);
const emit = defineEmits<{
(e: "reload"): void
}>();
Copy link

@mlzzen mlzzen May 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该使用单引号吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

都可以的

Copy link

@mlzzen mlzzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review完毕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants