Skip to content

Commit 6eabc93

Browse files
committed
* fix violation of eslint rules @ fe
1 parent e719853 commit 6eabc93

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

fe/src/stores/viewer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line import-x/no-unresolved
12
import viewer from 'v-viewer';
23
import 'viewerjs/dist/viewer.css';
34

fe/src/utils/post/seo/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ export const usePostsSEO = (
1919
return `${firstPostPageForum.value?.name}吧 - 帖子查询`;
2020
case 'postID':
2121
return `${firstThread.value?.title} - ${firstPostPageForum.value?.name}吧 - 帖子查询`;
22-
default:
23-
return '帖子查询';
22+
case 'empty':
2423
}
24+
25+
return '帖子查询';
2526
})
2627
});
2728
defineOgImageComponent('Post', { routePath: route.path, firstPostPage, firstPostPageForum, firstThread, currentQueryType });

0 commit comments

Comments
 (0)