1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

fix: eslint no-console warning

Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
Kaifuny 2023-07-20 03:00:58 +08:00
parent ef3968d764
commit ef930404a1
2 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,7 @@ module.exports = {
],
rules: {
'@typescript-eslint/no-unused-vars': 'error',
'no-console': 'warn',
'no-empty-pattern': 'error',
'no-useless-escape': 'error',
'prettier/prettier': [

View File

@ -43,7 +43,6 @@ const router = useRouter()
:dropdown-menus="dropdownMenus"
@update:current="
(name: string) => {
console.log(name)
router.push({ name })
}
"