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

eslint&用户模块 基础数据类型 #5

Merged
merged 3 commits into from
Dec 29, 2020
Merged

Conversation

CurryPaste
Copy link
Collaborator

eslint­——允许一个文件存在多个类
用户模块——分离查询组件
用户模块——基础数据类型

分离方式
——————1、html只处理页面逻辑
——————2、vuex处理接口和页面需要的数据格式&基础数据类型

@@ -20,6 +26,9 @@ declare module 'vuex' {
type ModulesType = {
system: typeof system.state;
user: typeof user.state;
classCon: typeof classCon.state;
Copy link
Owner

Choose a reason for hiding this comment

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

这个命名是什么?

Copy link
Owner

Choose a reason for hiding this comment

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

classCon? 班级?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

嗯,我怕class关键字冲突,要不换一个?

Copy link
Owner

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
Collaborator Author

Choose a reason for hiding this comment

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

classe —— 法语的班级😂

@phpjavac phpjavac merged commit d17e70d into phpjavac:main Dec 29, 2020
phpjavac pushed a commit that referenced this pull request Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants