mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-30 17:15:16 +01:00
refs #2500 Fix eslint
This commit is contained in:
parent
a68a24e4f9
commit
f79282d83e
@ -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(() => {
|
||||
|
@ -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" />
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user