UIGF 基本完工 #27

This commit is contained in:
BTMuli
2023-08-31 10:55:17 +08:00
parent fb1e567c47
commit 7be0f1cb37
4 changed files with 282 additions and 16 deletions

View File

@@ -9,9 +9,6 @@
</template>
<v-spacer />
<template #append>
<v-btn prepend-icon="mdi-share-variant" class="gacha-top-btn" @click="handleShareBtn">
分享
</v-btn>
<v-btn prepend-icon="mdi-import" class="gacha-top-btn" @click="handleImportBtn"> 导入</v-btn>
<v-btn prepend-icon="mdi-export" class="gacha-top-btn" @click="handleExportBtn"> 导出</v-btn>
</template>
@@ -77,14 +74,6 @@ function isLogin(): boolean {
return user?.gameUid !== undefined;
}
// 分享按钮点击事件
async function handleShareBtn(): Promise<void> {
showSnackbar({
color: "grey",
text: `暂未开放`,
});
}
// 导入按钮点击事件
async function handleImportBtn(): Promise<void> {
const selectedFile = await dialog.open({