refs #2500 Fix eslint

This commit is contained in:
AkiraFukushima 2023-01-02 09:59:12 +09:00
parent a68a24e4f9
commit f79282d83e
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import sqlite3 from 'sqlite3'
const newDB = (file: string): sqlite3.Database => {
let db = new sqlite3.Database(file, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE)
const db = new sqlite3.Database(file, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE)
// migration
db.serialize(() => {

View File

@ -15,7 +15,7 @@
:index="`/${account.id}/`"
:route="{ path: `/${account.id}/home` }"
v-for="([account, server], _index) in accounts"
v-bind:key="account.id"
:key="account.id"
role="menuitem"
>
<FailoverImg :src="account.avatar" class="avatar" :title="account.username + '@' + server.domain" />

View File

@ -11,7 +11,7 @@
label-width="120px"
label-position="top"
class="authorize-form"
v-on:submit.prevent="authorizeSubmit"
@submit.prevent="authorizeSubmit"
>
<p v-if="sns === 'misskey'">{{ $t('authorize.misskey_label') }}</p>
<el-form-item :label="$t('authorize.code_label')" v-else>
@ -46,7 +46,7 @@ import { useStore } from '@/store'
import { ACTION_TYPES } from '@/store/Login'
export default defineComponent({
name: 'authorize',
name: 'Authorize',
setup() {
const space = 'Login'
const store = useStore()