feat:add feedback link & migrate notice

This commit is contained in:
Zyronon
2025-11-25 16:43:00 +08:00
committed by GitHub
parent eb0b5ef38f
commit 0853bba926
5 changed files with 102 additions and 88 deletions

View File

@@ -82,7 +82,6 @@ async function transfer() {
Toast.success('迁移完成')
model.value = false
emit('ok')
} catch (e) {
Toast.error('迁移失败:' + e)
console.error('迁移失败', e);
@@ -91,21 +90,21 @@ async function transfer() {
</script>
<template>
<Dialog v-model="model" title="迁移数据">
<div class="px-4 flex-col center text-align-center w-100">
<h2>
<Dialog v-model="model"
:footer="true"
@ok="transfer"
confirmButtonText="转移数据"
title="迁移数据">
<div class="px-4 flex-col center w-100">
<h2 class="text-align-center">
本网站已启用新域名 <span class="color-blue">{{ Origin }}</span>
</h2>
<h3>
老域名即将停用由于浏览器安全限制新老网站数据无法互通需要您手动点击转移数据
</h3>
<h3>
<BaseButton
size="large"
@click="transfer">
转移数据
</BaseButton>
</h3>
<div>
如果您不想此时迁移关闭弹窗后您可随时在设置 -> 数据管理 里面再次进行
</div>
</div>
</Dialog>
</template>