diff --git a/.vscode/settings.json b/.vscode/settings.json index 364071a..d551fb4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,12 @@ "editor.guides.bracketPairs": "active", "editor.formatOnSave": false, "eslint.validate": ["html", "css", "scss", "json", "jsonc"], + "explorer.fileNesting.enabled": true, + "explorer.fileNesting.patterns": { + "package.json": "package-lock.json, pnpm*, eslint*, .editorconfig,.gitattributes,.gitignore,.npmrc", + ".env": ".env*", + "README.md": "README*,LICENSE,CHANGELOG*,vercel.json" + }, "i18n-ally.displayLanguage": "zh-cn", "i18n-ally.enabledParsers": ["ts"], "i18n-ally.enabledFrameworks": ["react-i18next"], diff --git a/src/pages/home/modules/ProjectNews.tsx b/src/pages/home/modules/ProjectNews.tsx index dcc59f6..63dc17f 100644 --- a/src/pages/home/modules/ProjectNews.tsx +++ b/src/pages/home/modules/ProjectNews.tsx @@ -124,7 +124,7 @@ const ProjectNews = () => { avatar={} title={item.content} description={item.time} - > + /> )} diff --git a/src/pages/login/code-login/index.tsx b/src/pages/login/code-login/index.tsx index 36e0c81..f216916 100644 --- a/src/pages/login/code-login/index.tsx +++ b/src/pages/login/code-login/index.tsx @@ -30,7 +30,7 @@ export const Component = () => { name="phone" rules={formRules.phone} > - +