From de7d688e9a37d6b21f4009e885affc369a5c9ce3 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Sun, 14 Sep 2025 15:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E7=BB=9F=E4=B8=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=BC=E5=BC=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 10 +++++++++- Web/src/types/global.d.ts | 1 + Web/src/types/vue-element-plus-x.d.ts | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 Web/src/types/vue-element-plus-x.d.ts diff --git a/.gitattributes b/.gitattributes index 94f480de..47893fe7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,9 @@ -* text=auto eol=lf \ No newline at end of file +# 所有文件默认使用 LF +* text=auto eol=lf + +# 强制指定 Windows 换行符 (CRLF) +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf +*.txt text eol=crlf +*.cs text eol=crlf \ No newline at end of file diff --git a/Web/src/types/global.d.ts b/Web/src/types/global.d.ts index 6bcda299..009111b9 100644 --- a/Web/src/types/global.d.ts +++ b/Web/src/types/global.d.ts @@ -16,6 +16,7 @@ declare module 'vform3-builds'; declare module 'jwchat'; declare module 'crypto-js'; declare module '@liveqing/liveplayer-v3'; +declare module 'vue-element-plus-x'; // 声明一个模块,防止引入文件时报错 declare module '*.json'; diff --git a/Web/src/types/vue-element-plus-x.d.ts b/Web/src/types/vue-element-plus-x.d.ts deleted file mode 100644 index f72e92e3..00000000 --- a/Web/src/types/vue-element-plus-x.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module 'vue-element-plus-x';