diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1e3cd90 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# 确保所有文本文件使用 UTF-8 编码 +* text=auto eol=lf +*.vue text eol=lf charset=utf-8 +*.ts text eol=lf charset=utf-8 +*.js text eol=lf charset=utf-8 +*.json text eol=lf charset=utf-8 +