Skip to content

Commit

Permalink
* fix violation of eslint rules @ fe
Browse files Browse the repository at this point in the history
  • Loading branch information
n0099 committed Dec 20, 2024
1 parent f3477bf commit bb4000c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions fe/src/stores/viewer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line import-x/no-unresolved
import viewer from 'v-viewer';
import 'viewerjs/dist/viewer.css';

Expand Down
5 changes: 3 additions & 2 deletions fe/src/utils/post/seo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ export const usePostsSEO = (
return `${firstPostPageForum.value?.name}吧 - 帖子查询`;
case 'postID':
return `${firstThread.value?.title} - ${firstPostPageForum.value?.name}吧 - 帖子查询`;
default:
return '帖子查询';
case 'empty':
}

return '帖子查询';
})
});
defineOgImageComponent('Post', { routePath: route.path, firstPostPage, firstPostPageForum, firstThread, currentQueryType });
Expand Down

0 comments on commit bb4000c

Please sign in to comment.