Skip to content

Commit 3d797da

Browse files
committed
feat(dict): 词库导入格式选择页新增 UTF-8 编码要求提示
1 parent 7a90639 commit 3d797da

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

wind_setting/frontend/src/components/dict/ImportExportDialog.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
currentImportFormat.example
7474
}}</pre>
7575
</div>
76+
<p v-if="importFormat !== 'zip'" class="ie-encoding-hint">
77+
文件须以 UTF-8 编码保存
78+
</p>
7679
</div>
7780

7881
<!-- Step 2: 预览确认 -->
@@ -933,6 +936,13 @@ async function doExport() {
933936
overflow-y: auto;
934937
}
935938
939+
/* ===== 编码提示 ===== */
940+
.ie-encoding-hint {
941+
font-size: 12px;
942+
color: hsl(var(--muted-foreground));
943+
margin: 6px 0 0;
944+
}
945+
936946
/* ===== 预览信息 ===== */
937947
.ie-preview-info {
938948
background: hsl(var(--muted));

0 commit comments

Comments
 (0)