1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-03 01:39:22 +00:00
This commit is contained in:
SunWuyuan 2025-03-22 16:17:01 +08:00
parent 5a394ab6f6
commit c0d235a0fe
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64
2 changed files with 5 additions and 13 deletions

View File

@ -12,7 +12,6 @@
<v-btn <v-btn
:loading="loading" :loading="loading"
variant="tonal" variant="tonal"
size="small"
@click="checkServerConnection" @click="checkServerConnection"
> >
测试连接 测试连接
@ -32,12 +31,7 @@
>这将清除所有IndexedDB中的数据</v-list-item-subtitle >这将清除所有IndexedDB中的数据</v-list-item-subtitle
> >
<template #append> <template #append>
<v-btn <v-btn color="error" variant="tonal" @click="confirmClearIndexedDB">
color="error"
variant="tonal"
size="small"
@click="confirmClearIndexedDB"
>
清除 清除
</v-btn> </v-btn>
</template> </template>
@ -48,9 +42,7 @@
</template> </template>
<v-list-item-title>导出数据库</v-list-item-title> <v-list-item-title>导出数据库</v-list-item-title>
<template #append> <template #append>
<v-btn variant="tonal" size="small" @click="exportData"> <v-btn variant="tonal" @click="exportData"> 导出 </v-btn>
导出
</v-btn>
</template> </template>
</v-list-item> </v-list-item>
</template> </template>

View File

@ -39,15 +39,15 @@
variant="text" variant="text"
:loading="loading.download" :loading="loading.download"
@click="downloadData" @click="downloadData"
/> /> <v-btn
<v-btn icon="mdi-cog" variant="text" @click="$router.push('/settings')" />
<v-btn
icon="mdi-bell" icon="mdi-bell"
variant="text" variant="text"
:badge="unreadCount || undefined" :badge="unreadCount || undefined"
:badge-color="unreadCount ? 'error' : undefined" :badge-color="unreadCount ? 'error' : undefined"
@click="$refs.messageLog.drawer = true" @click="$refs.messageLog.drawer = true"
/> />
<v-btn icon="mdi-cog" variant="text" @click="$router.push('/settings')" />
</template> </template>
</v-app-bar> </v-app-bar>
<div class="d-flex"> <div class="d-flex">