Skip to content

Commit 860dfa2

Browse files
committed
style: 修改了部分提示文本
1 parent e1a5e05 commit 860dfa2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/mobile/MobileWorkspace.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<div v-if="!activeChunk" class="mobile-empty">
44
<MessagesSquare class="mobile-empty-icon" />
55
<p>选择一个场景开始编辑</p>
6+
<p>完整功能建议使用网页端~</p>
67
<button
78
class="mobile-primary-button"
89
type="button"

src/io/import/textDecoder.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ function detectBom(bytes: Uint8Array): string | null {
4545
bytes[2] === 0xfe &&
4646
bytes[3] === 0xff)
4747
) {
48-
throw new Error('暂不支持转换 UTF-32 编码文件,请先另存为 UTF-8。');
48+
throw new Error(
49+
'暂不支持转换 UTF-32 编码文件,请另存为 UTF-8 或使用剪切板导入',
50+
);
4951
}
5052
if (bytes[0] === 0xef && bytes[1] === 0xbb && bytes[2] === 0xbf) {
5153
return 'utf-8';

0 commit comments

Comments
 (0)