From 53fc3dde4229de1f4ee22b30fc63431dbb68fed2 Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 21:12:06 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=A1=B5=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=94=B9=E4=B8=BA=E7=94=A8=E6=88=B7=E5=8F=AF=E7=90=86?= =?UTF-8?q?=E8=A7=A3=E7=9A=84=E5=88=B6=E4=BD=9C=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/visual-style/VisualStylePage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/features/visual-style/VisualStylePage.vue b/src/features/visual-style/VisualStylePage.vue index 210682a..720e405 100644 --- a/src/features/visual-style/VisualStylePage.vue +++ b/src/features/visual-style/VisualStylePage.vue @@ -49,7 +49,7 @@ async function writeStyle(label: string, action: (id: string) => Promise { const result = await action(id) - if (!result) throw new Error('后端未返回已保存的视觉风格,请刷新核对。') + if (!result) throw new Error('视觉风格保存结果未确认,请刷新后核对。') assertProject(result, id) if (projectId.value === id) { query.data.value = { style: result } @@ -79,7 +79,7 @@ async function writeImage(label: string, action: (id: string) => Promise { const result = await action(id) - if (!result || result.visualStyleId !== styleId) throw new Error('后端未确认风格图片变更,请刷新核对。') + if (!result || result.visualStyleId !== styleId) throw new Error('风格参考图变更结果未确认,请刷新后核对。') }) if (ok && reset && projectId.value === id) imageRevision.value++ await query.refresh() @@ -136,7 +136,7 @@ function removeImage(image: VisualStyleImage) { {{ query.error.value }} 请确认后端 dev 已更新并重启;查询失败不等同于尚未创建。 + >{{ query.error.value }} 当前内容读取失败,请刷新后重试;已有内容不会被覆盖。

有未保存修改,AI 重生成暂不可用。刷新不会覆盖编辑内容;离开页面不会自动保存。