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:
parent
ef3968d764
commit
ef930404a1
@ -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': [
|
||||
|
@ -43,7 +43,6 @@ const router = useRouter()
|
||||
:dropdown-menus="dropdownMenus"
|
||||
@update:current="
|
||||
(name: string) => {
|
||||
console.log(name)
|
||||
router.push({ name })
|
||||
}
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user