fix: 修复文件编码问题,确保导入语句格式正确

This commit is contained in:
2026-03-12 10:37:07 +08:00
parent bf15918136
commit 8cbe01dd9c
10 changed files with 111 additions and 142 deletions

View File

@@ -94,14 +94,7 @@ const hasAnyCategoryBudget = computed(() =>
Object.values(categoryBudgets.value || {}).some((v) => (v || 0) > 0),
)
const budgetCategories = [
{ value: 'Food', label: '餐饮' },
{ value: 'Transport', label: '通勤' },
{ value: 'Health', label: '健康' },
{ value: 'Groceries', label: '买菜' },
{ value: 'Entertainment', label: '娱乐' },
{ value: 'Uncategorized', label: '其他' },
]
const budgetCategories = BUDGET_CATEGORY_OPTIONS
const handleAvatarClick = () => {
if (fileInputRef.value) {
fileInputRef.value.click()
@@ -155,7 +148,7 @@ onMounted(() => {
<img
:src="
settingsStore.profileAvatar ||
'https://api.dicebear.com/7.x/avataaars/svg?seed=Echo'
'/default-avatar.svg'
"
alt="Avatar"
class="w-16 h-16 rounded-full bg-stone-100 object-cover cursor-pointer"
@@ -390,9 +383,9 @@ onMounted(() => {
<i class="ph-fill ph-magic-wand" />
</div>
<div>
<p class="font-bold text-stone-700 text-sm">AI 自动分类预留</p>
<p class="font-bold text-stone-700 text-sm">AI 自动分类与标签预留</p>
<p class="text-[11px] text-stone-400 mt-0.5">
开启后未来会优先使用云端 AI 对商户进行分类与标签分析
开启后未来会自动补全分类标签并生成可复用的商户画像
</p>
</div>
</div>
@@ -405,7 +398,7 @@ onMounted(() => {
</button>
</div>
<p v-if="aiAutoCategoryEnabled" class="px-4 pb-1 text-[11px] text-purple-600">
当前版本仅记录偏好后续接入云端 AI 后会自动生效
当前版本仅记录偏好后续接入 AI 能力后会自动生效
</p>
</div>
</div>
@@ -460,3 +453,4 @@ onMounted(() => {
</div>
</template>