diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..6fc5235c6cfa390c8157e2a9dbc842281d2c5b53 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,57 @@ +# 设置默认行为,所有文件的行尾自动转换为LF +* text=auto eol=lf + +# 源代码文件 +*.js text eol=lf +*.jsx text eol=lf +*.ts text eol=lf +*.tsx text eol=lf +*.vue text eol=lf +*.html text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.less text eol=lf +*.json text eol=lf +*.md text eol=lf +*.yaml text eol=lf +*.yml text eol=lf + +# 配置文件 +*.spec text eol=lf +*.conf text eol=lf +*.config text eol=lf +Dockerfile text eol=lf +.env* text eol=lf +.gitignore text eol=lf +.eslintrc* text eol=lf +.prettierrc* text eol=lf +tsconfig.json text eol=lf +vite.config.ts text eol=lf +package.json text eol=lf + +# SVG 是 XML 格式的文本文件 +*.svg text eol=lf + +# 二进制文件(不进行任何行尾转换) +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.woff binary +*.woff2 binary +*.eot binary +*.ttf binary +*.otf binary +*.pdf binary +*.zip binary +*.tgz binary +*.icns binary +*.rpm binary +*.pak binary +*.so binary +*.dll binary +*.exe binary + +# 确保shell脚本在Linux/macOS上可执行 +*.sh text eol=lf diff --git a/src/components/EulerDialog.vue b/src/components/EulerDialog.vue index 39d473654fcfc66238a0d51b5e9ae50e26307bdf..c574a4725dc57c83cf67e5a0da43c073b88d2086 100644 --- a/src/components/EulerDialog.vue +++ b/src/components/EulerDialog.vue @@ -36,7 +36,7 @@